Search:

Type: Posts; User: pdesigns

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,089

    Found your problem. You missed putting the break;...

    Found your problem. You missed putting the break; command at the end of the WM_COMMAND case. This causes WM_CLOSE to be called as part of WM_COMMAND so the window will be destroyed every time....
  2. Replies
    7
    Views
    2,394

    It said the function could not be found. When...

    It said the function could not be found. When adding the prototype into the code then it says undefined reference to the function. I am using 4.9.9.2 by the way. I'm guessing the libkernel32.a needs...
  3. Replies
    7
    Views
    2,394

    Never heard of using that but just tried putting...

    Never heard of using that but just tried putting it above the includes and no luck.
  4. Replies
    7
    Views
    2,394

    Tried linking the libkernel32.a file and...

    Tried linking the libkernel32.a file and including windows.h but doesn't work.
  5. Replies
    7
    Views
    2,394

    Cannot find Function: QueueUserWorkItem

    Hello,

    I am using Dev C++ and am wondering where the hell the function QueueUserWorkItem is located. I used API Viewer and found the function is in kernel32.dll but am wondering what .lib file...
  6. Replies
    2
    Views
    7,062

    @nthony, thanks for your help. Using the...

    @nthony, thanks for your help.

    Using the SetFocus function works exactly as I was hoping for. I've been having problems like this every now and then with different things -- I'll sometimes try to...
  7. Replies
    2
    Views
    7,062

    WM_SETFOCUS Problem

    Hey I'm having a problem wondering if any of you guys know why.

    I have an edit control where I validate it for proper text length but need it to set focus if the text entered is not valid.

    I...
  8. Starting at -10, -10 prevents the border of the...

    Starting at -10, -10 prevents the border of the rectangle from being seen when its drawn in the area. I did this out of laziness so I wouldn't have to add the extra code to remove the border.

    The...
  9. Replies
    7
    Views
    1,572

    I've subclassed a static and it seems that the...

    I've subclassed a static and it seems that the window is not painting or erasing as you stated. If windows get moved over it the image of those windows will be moved onto the static. Do you know the...
  10. Alright fixed my original problem but am hoping...

    Alright fixed my original problem but am hoping to get answers on my 2nd.

    Regards.
  11. Replies
    4
    Views
    1,711

    try this: LRESULT CALLBACK WindowProc(HWND...

    try this:



    LRESULT CALLBACK WindowProc(HWND hwnd,
    UINT msg,
    WPARAM wparam,
    LPARAM lparam)
    {
    switch(msg)
  12. [problem resolved] Send message problem to subclassed child window

    EDIT: Problem resolved. Pretty stupid of me. I had declared the "font" globally for using it multiple times (I send the message in another function than where I first used it). I finally tried...
Results 1 to 12 of 12