I've been bashing my head about this and can't find any good examples of how to read a binary registry entry. Here's what I have...
int ReadBinary(HKEY hKey, char *pszKey, char *pszValue,...
Type: Posts; User: cpeschke
I've been bashing my head about this and can't find any good examples of how to read a binary registry entry. Here's what I have...
int ReadBinary(HKEY hKey, char *pszKey, char *pszValue,...
Wherever you declare your globals:
#define IDC_TIMER 600 /* Your choice for ID */
UINT g_unTimerRet;
In your message callback:
MSDN WM_VSCROLL .
Just intercept this message through your windowproc, use GetScrollPos to get where one control is at and use SetScrollPos to set the second scrollbar.
case WM_VSCROLL: {
...
Alrighty, here's a rough one...
The Gist:
I'm trying to create a popup menu that enumerates and loads the files in the recent documents menu that exist, and launch the file when clicked. The...
I used the function and it works great! I very much appreciate the assistance. Thanks!
I tried to give you some more reputation but since you helped me with my last problem I can't give it...
The best match to a search for finding a shortcut's target is http://cboard.cprogramming.com/showthread.php?t=61943.
But using Dev-C++ (4.9.9.2), I get several errors when using GetPath, here is...
I figured it out after much pain, here is what is in my Windows Procedure (Just a messagebox for the text right now but it works)...
default: {
char sTemp[MAX_PATH];
...
I have run into a block trying to figure out how I can load specific files from a directory into a menu and click them to launch to files. I have no problems loading my menu up, the problem comes in...
I changed the call to a global, called it on startup, and added the FindClose and have no continually growing memory usage anymore. I appreciate the help!
...and post the results, I appreciate such a quick response.. Thanks!
WARNING: NEWBIE to C! I am porting my programs from VB to C and C++. With my current program, I have a timer that calls the following function (IsFulll()) which calls the GetRecentDocs()...