Search:

Type: Posts; User: cpeschke

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    5,046

    Read REG_BINARY...

    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,...
  2. Thread: Timer

    by cpeschke
    Replies
    4
    Views
    2,405

    This should work for you

    Wherever you declare your globals:


    #define IDC_TIMER 600 /* Your choice for ID */
    UINT g_unTimerRet;


    In your message callback:
  3. Replies
    2
    Views
    1,617

    Wm_vscroll

    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: {
    ...
  4. Replies
    0
    Views
    1,612

    Owner Drawn dynamic menus

    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...
  5. Replies
    2
    Views
    11,245

    Woo Hoo!

    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...
  6. Replies
    2
    Views
    11,245

    IShellLink GetPath and Dev-C++...

    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...
  7. Replies
    1
    Views
    1,536

    Solved

    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];
    ...
  8. Replies
    1
    Views
    1,536

    Dynamic Menu Creation and Processing...

    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...
  9. Replies
    3
    Views
    2,213

    Works Great!!!

    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!
  10. Replies
    3
    Views
    2,213

    I'll give it a try...

    ...and post the results, I appreciate such a quick response.. Thanks!
  11. Replies
    3
    Views
    2,213

    static char in function problem

    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()...
Results 1 to 11 of 11