Results 1 to 3 of 3

Thread: Not sending a message to the creation WM_CREATE

  1. #1
    Join Date
    Oct 2008
    Posts
    77

    Not sending a message to the creation WM_CREATE

    Hello,

    I create a window through the resources.
    I want when creating a ListView (this part is almost resolved).
    I would like to make this ListView when the window recois "WM_CREATE.
    The problem is that if the window is created with the resources, it does not receive this message ... I do not see the problem.

    Question For simplicity, I wanted to resources through the window.
    Thank you for your help.

    [Add code]:
    CreateWindow my code:
    Code:
    hLog = CreateDialog (hInst, MAKEINTRESOURCE (IDD_DIALOG1), NULL, (DLGPROC) wmd_Log);

  2. #2
    Join Date
    Mar 2008
    Posts
    198

    Re: Not sending a message to the creation WM_CREATE

    For dialog boxes that is the message WM_INITDIALOG not WM_CREATE to be addressed. Remember that is not the DLGPROC WndProc but a function which will be regularly called by the WndProc dialog boxes.

  3. #3
    Join Date
    Oct 2008
    Posts
    77

    Re: Not sending a message to the creation WM_CREATE

    Quote Originally Posted by aftab1 View Post
    For dialog boxes that is the message WM_INITDIALOG not WM_CREATE to be addressed. Remember that is not the DLGPROC WndProc but a function which will be regularly called by the WndProc dialog boxes.
    Thank you any more help !

Similar Threads

  1. Thunderbird Error Message : Sending of message failed
    By avit in forum Technology & Internet
    Replies: 10
    Last Post: 13-03-2012, 06:50 PM
  2. Message sending failed with iPhone
    By A.I. in forum Portable Devices
    Replies: 5
    Last Post: 23-03-2011, 08:00 AM
  3. Nokia E72 is getting Hang while sending message
    By A.I. in forum Portable Devices
    Replies: 3
    Last Post: 15-02-2011, 03:57 AM
  4. Replies: 3
    Last Post: 30-01-2010, 07:05 AM
  5. Problem of sending message
    By Cecylia in forum Windows Software
    Replies: 3
    Last Post: 27-11-2008, 06:08 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,153,476.42342 seconds with 16 queries