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

Search:

Type: Posts; User: Evilz_AD

Search: Search took 0.01 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
    4,218

    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
    468

    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
    468

    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
    325

    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
    406

    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
    340

    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
    340

    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
    354

    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
    382

    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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center