CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Evilz_AD

Search: Search took 0.17 seconds.

  1. Re: Set Window Background Color using WinAPI - NOT MFC!

    I'm not sure if and when my application would generate a WM_CTLCOLORDLG to proccess. According to msdn, it is generated before the dialog box is drawn. I'm not using a dialog in my application, im...
  2. Set Window Background Color using WinAPI - NOT MFC!

    could someone please tell me what I am missing from the following code?
    I'm trying to change the background color of a window, but it doesn't change.
    Thanks!

    ... WinMain

    HDC hdc;
    ...
  3. Replies
    4
    Views
    5,463

    No scrollbar for Listbox using WinAPI

    Can someone please help me out. The scrollbars are missing when I create a listbox using either CreateWindow or CreateWindowEx.
    Here is my code below..

    hSiteList =...
  4. Replies
    3
    Views
    1,024

    Re: WM_MOUSEMOVE for button

    the wParam should contain the handle of the window which produced the message. Either HI or LO part.

    Thanks for the help
  5. Replies
    3
    Views
    1,024

    WM_MOUSEMOVE for button

    Hello,
    I am having trouble switching on the wParam to determin if the mouse is over a button.
    Here is my code.

    //the button
    hStartBut = CreateWindowEx(BS_BITMAP, ("button"), NULL, WS_CHILD |...
  6. Replies
    4
    Views
    667

    Re: Str() vb equivilant in C++?

    Brendan, if you include stdlib.h you can use
    itoa - integer to asci
    atoi - asci to integer

    There are also equivs to long and float.



    char buf[20];
    int num = 100;
  7. Replies
    0
    Views
    612

    Toolbar NO MFC

    I am having trouble finding information on creating a Toolbar with CreateToolbarEx.

    I have created a custom toolbar and added it as a resource to my project. I've also loaded it as an Accelerator....
  8. Thread: SetTimer

    by Evilz_AD
    Replies
    4
    Views
    665

    Re: SetTimer

    So if it is being handled in the Window msg loop what is the point of installing a Callback function for the timer?

    Should I have used
    SetTimer(Strider.main_hwnd, IDC_TIMER, 1000,...
  9. Thread: SetTimer

    by Evilz_AD
    Replies
    4
    Views
    665

    SetTimer

    my SetTimer call is not being processed until after other calls to functions are complete. I've tried trapping the WM_TIMER msg and creating a seperate Thread for the timer as well. Any ideas?

    ...
  10. Re: Ok, this problem is driving me nuts. Please try to help.

    Here is what I am using in my app.

    LPVOID lpMsgBuf;

    FormatMessage(
    FORMAT_MESSAGE_ALLOCATE_BUFFER |
    FORMAT_MESSAGE_FROM_SYSTEM |
    FORMAT_MESSAGE_IGNORE_INSERTS,
    NULL,
    ...
  11. Re: Ok, this problem is driving me nuts. Please try to help.

    Hi, are you using the WinHttp SDK? Email me at "adam.chapman@futurevisionz.com"

    Thanks
  12. Replies
    2
    Views
    625

    Help with LPWSTR

    I'm using the WinHttp SDK and in one of the functions it is expecting a LPWSTR. In the examples it shows L"msdn.microsoft.com" as the parameter, which works fine. I can't figure out how to pass it as...
  13. Replies
    2
    Views
    508

    STL list, vector

    could someone help me with a list error I am getting. When I try to "erase" or "remove" an item from the list, or vector I always get an error.

    Here is a snippet of code.

    class User{
    ...
Results 1 to 13 of 13





Click Here to Expand Forum to Full Width

Featured