skip to main
|
skip to sidebar
Win32 Tips
Wednesday, March 25, 2009
How to Launch Internet Properties Control Applet
Use the following code:
WinExec("rundll32 inetcpl.cpl LaunchConnectionDialog", SW_SHOW);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Popular Posts
Use Bold or Underlined Font
1. Define a static HFONT variable: static HFONT hFont; 2. In the response to the WM_INITDIALOG message, create a font with desired features,...
How to Trap Enter key on Edit Box
In order to trap the keypress you'll need to subclass the edit window. Here's how to do it. First, you'll need to store the or...
Create A Combo Box on a Toolbar
const int nDropHeight = 100; Create a dummy button on a toolbar. Separator style recommended. Command identifier associated with the button:...
Attach Icon to the Title bar of Dialog-based Application
HICON hIcon = LoadIcon (hInst, MAKEINTRESOURCE (DLG_ICON)); SendMessage (hwnd, WM_SETICON, (WPARAM) ICON_SMALL, (LPARAM) hIcon);
Create Toolbar Tips
Declare: LPNMTTDISPINFO TTtext; Example: case WM_NOTIFY: TTtext = (LPNMTTDISPINFO)lParam; if(TTtext->hdr.code==TTN_GETDISPINFO) s...
Blog Archive
►
2011
(1)
►
May
(1)
▼
2009
(16)
▼
March
(16)
Make Sure Only One Instance of the Application Is ...
How to Launch Internet Properties Control Applet
Measure Time In Milliseconds
Measure Time In Milliseconds
Retrieve Menu Item Text with GetMenuItemInfo function
Use Bold or Underlined Font
Enable a Button Depending On Whether There is Any ...
Set Foreground Color to an Individual Edit Box or ...
How to Get a Handle to a Control
Create A Combo Box on a Toolbar
Create Toolbar Tips
How to Trap Enter key on Edit Box
Display Last Error
Attach Menu to Dialog-based Application
Retrieving the Path of the Running Application
Attach Icon to the Title bar of Dialog-based Appl...
About Me
Erik K.
Toronto, Ontario, Canada
View my complete profile
No comments:
Post a Comment