Top Articles

Create a Win7 Gadget

DanRollins11/20/2009, 12:00 AM

This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista.  Gadgets can be dropped anywhere on the desktop to provide instant information, or to act as a gateway to a website or a larger pr

Topic: Windows ProgrammingTags: tutorial, sample, Windows 7, gadget.xml, sidebar, Hello World, localappdata, debugging, ZIP file, Dan Rollins

Views: 71091Comments: 20

Simple Multithreading in Visual C++

DanRollins09/23/2009, 12:00 AM

Here's a summary of how to use multithreading, with short, easy-to-follow example code in C++.   Before you embark on this journey, I suggest that you read Multithreading -- When and Why because odds are, you really don't need to create additiona

Topic: Windows ProgrammingTags: multi-threading with C++, Create Thread, AfxBeginThread, TerminateThread, killing a thread

Views: 19705Comments: 4

Execute a Program with C++

DanRollins09/19/2009, 12:00 AM

This article describes several ways to launch a program using C++, including one that will launch a DOS (console-style) program and capture the console output (the standard output) for programmatic processing. We are going to focus on the task of

Topic: Windows ProgrammingTags: Execute a DOS program, ShellExecute, launch a program, C++, show web browser, print PDF file, CreateProcess, unzip, runas, Dan Rollins

Views: 16101Comments: 10

MFC Feature Pack for VS 2008 and 2010

DanRollins12/19/2009, 12:00 AM

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual

Topic: Windows MFC ProgrammingTags: VC++, Visual Studio, MFC Feature Pack, Win7, CMFCMaskedEdit, CMFCMenubar, CMFCButton, CMFCFontComboBox, Tear-off menus, Dan Rollins

Views: 15030Comments: 7

Add a Custom Command Button to the Windows 7 Explorer Toolbar

DanRollins12/30/2009, 12:00 AM

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article, we saw how to put the Delete button back there where it belongs.  "Delete" is a predefined action, but today, we're going to

Topic: Windows ProgrammingTags: Win7, Explorer toolbar, FolderTypes, command bar, custom button, RegEdit, registry, jscript, Dan Rollins

Views: 12727Comments: 12

Create a Win7 Maze! Gadget

DanRollins11/20/2009, 12:00 AM

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  

Topic: Windows ProgrammingTags: Tutorial, sample, Windows 7, sidebar, wrench, settingsUI, onShowSettings, onSettingsClosed, System.Gadget, Dan Rollins

Views: 11110Comments: 11

Create a Win7 Gadget with a Flyout Panel

DanRollins11/22/2009, 12:00 AM

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t

Topic: Windows ProgrammingTags: Tutorial, Windows 7, gadget, sidebar, flyout, System.Shell, size to content, ActiveX, JavaScript, action verbs, FolderItem, Dan Rollins

Views: 10070Comments: 3

Create a Win7 DropTarget Gadget

DanRollins11/21/2009, 12:00 AM

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.

Topic: Windows ProgrammingTags: Windows 7, transparent, drag and drop, target, sidebar, sample, g:background, g:text, System.Shell, ondrop, Dan Rollins

Views: 9562Comments: 3

Radio Buttons in MFC Dialogs

DanRollins09/12/2009, 12:00 AM

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli

Topic: Windows MFC ProgrammingTags: MFC, DDX_Radio, C++, DoDataExchange, RadioButton group, enabling dilaog items, Dan Rollins

Views: 7727Comments: 1

Create a Standard DLL with VC++

DanRollins06/06/2009, 12:00 AM

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i

Topic: Windows ProgrammingTags: C++, DLL, Visual Studio, debugging, two projects, tutorial, .DEF file, EXPORTS

Views: 6127Comments: 3

Browser Bot -- Automate Browsing Sequences With C++ (PART ONE)

DanRollins07/05/2009, 12:00 AM

Having a custom web bot can save you lots of time and effort.  For instance, you might need to log in to a site, click a certain link, scroll down to locate some particular information, copy it to a clipboard for pasting into a spreadsheet, ... then

Topic: Windows ProgrammingTags: webbot, C++, login, webbrowser control

Views: 5985Comments: 9

Using SendKeys to Automate Repetitive Tasks

DanRollins02/12/2010, 12:00 AM

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce

Topic: Windows ProgrammingTags: WshShell, WScript, SendKeys, AppActivate, send keys, automate keystrokes, keyboard macro, JavaScript, VBScript, Dan Rollins

Views: 5974Comments: 14

Loading Advertisement...

Top Win OS Dev Experts

  1. DanRollins

    17,225

    80 points yesterday

    Profile
    Rank: Genius
  2. jkr

    7,800

    0 points yesterday

    Profile
    Rank: Savant
  3. sarabande

    5,000

    0 points yesterday

    Profile
    Rank: Sage
  4. sinisav

    4,000

    0 points yesterday

    Profile
    Rank: Master
  5. Zoppo

    3,500

    0 points yesterday

    Profile
    Rank: Genius
  6. burrcm

    2,800

    0 points yesterday

    Profile
    Rank: Genius
  7. DTHConsulting

    2,000

    0 points yesterday

    Profile
    Rank: Guru
  8. Geert_Gruwez

    2,000

    0 points yesterday

    Profile
    Rank: Genius
  9. ImaCircularSaw

    2,000

    0 points yesterday

    Profile
    Rank: Guru
  10. Geisrud

    2,000

    0 points yesterday

    Profile
    Rank: Guru
  11. Run5k

    2,000

    0 points yesterday

    Profile
    Rank: Genius
  12. ShareefHuddle

    2,000

    0 points yesterday

    Profile
    Rank: Guru
  13. tampnic

    2,000

    0 points yesterday

    Profile
    Rank: Master
  14. pgnatyuk

    1,980

    20 points yesterday

    Profile
    Rank: Genius
  15. Thommy

    1,800

    0 points yesterday

    Profile
    Rank: Wizard
  16. mrwad99

    1,800

    0 points yesterday

    Profile
    Rank: Wizard
  17. momi_sabag

    1,800

    0 points yesterday

    Profile
    Rank: Genius
  18. TommySzalapski

    1,600

    0 points yesterday

    Profile
    Rank: Genius
  19. ve3ofa

    1,300

    0 points yesterday

    Profile
    Rank: Genius
  20. cpkilekofp

    1,300

    0 points yesterday

    Profile
    Rank: Sage
  21. Darr247

    1,000

    0 points yesterday

    Profile
    Rank: Genius
  22. thinkpads_user

    1,000

    0 points yesterday

    Profile
    Rank: Genius
  23. matrixnz

    999

    0 points yesterday

    Profile
    Rank: Genius
  24. joshbula

    900

    0 points yesterday

    Profile
    Rank: Master
  25. adminnrg

    750

    0 points yesterday

    Profile

Hall Of Fame