Click here to Skip to main content
15,902,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Access Denied Error Pin
Larry Mills Sr16-Jul-08 11:19
Larry Mills Sr16-Jul-08 11:19 
GeneralRe: Access Denied Error Pin
Mark Salsbery16-Jul-08 12:14
Mark Salsbery16-Jul-08 12:14 
GeneralRe: Access Denied Error Pin
led mike16-Jul-08 12:18
led mike16-Jul-08 12:18 
GeneralRe: Access Denied Error Pin
Larry Mills Sr16-Jul-08 13:51
Larry Mills Sr16-Jul-08 13:51 
GeneralRe: Access Denied Error Pin
Mark Salsbery16-Jul-08 14:13
Mark Salsbery16-Jul-08 14:13 
GeneralRe: Access Denied Error Pin
Larry Mills Sr17-Jul-08 17:55
Larry Mills Sr17-Jul-08 17:55 
GeneralRe: Access Denied Error Pin
led mike16-Jul-08 12:17
led mike16-Jul-08 12:17 
Questionhowto Post Message Pin
aei_totten16-Jul-08 7:52
aei_totten16-Jul-08 7:52 
okay working with a dialog app. I have a little worker thread doing stuff and then I want to update the dialog. So here is what I am doing...

#define UWM_UPDATEGRAPH (WM_APP + 1)

//{{AFX_MSG_MAP(CVC_ExampleDlg)
...
ON_MESSAGE(UWM_UPDATEGRAPH, OnUpdateGraph)
...
//}}AFX_MSG_MAP

// I ignore both params
LRESULT CVC_ExampleDlg::OnUpdateGraph(WPARAM, LPARAM)
{...}

now to post this message I thought I wanted to write
PostMessage(UWM_UPDATEGRAPH, 0, 0);

however it is asking for an additional parameter of the HWND.

So here is my question, did I define my message wrong or do how is the best way to get the HWND
AnswerRe: howto Post Message Pin
Cedric Moonen16-Jul-08 8:06
Cedric Moonen16-Jul-08 8:06 
GeneralRe: howto Post Message Pin
Stephen Hewitt16-Jul-08 13:09
Stephen Hewitt16-Jul-08 13:09 
GeneralRe: howto Post Message Pin
Cedric Moonen16-Jul-08 20:36
Cedric Moonen16-Jul-08 20:36 
GeneralRe: howto Post Message Pin
Stephen Hewitt16-Jul-08 20:41
Stephen Hewitt16-Jul-08 20:41 
AnswerRe: howto Post Message Pin
CPallini16-Jul-08 8:23
mveCPallini16-Jul-08 8:23 
AnswerRe: howto Post Message Pin
krmed16-Jul-08 10:25
krmed16-Jul-08 10:25 
AnswerRe: howto Post Message Pin
ThatsAlok17-Jul-08 22:13
ThatsAlok17-Jul-08 22:13 
Questionarray 2d search Pin
gordon305616-Jul-08 6:09
gordon305616-Jul-08 6:09 
AnswerRe: array 2d search Pin
Luc Pattyn16-Jul-08 6:29
sitebuilderLuc Pattyn16-Jul-08 6:29 
GeneralRe: array 2d search Pin
gordon305616-Jul-08 6:48
gordon305616-Jul-08 6:48 
AnswerRe: array 2d search Pin
Mark Salsbery16-Jul-08 6:33
Mark Salsbery16-Jul-08 6:33 
GeneralRe: array 2d search Pin
Luc Pattyn16-Jul-08 6:51
sitebuilderLuc Pattyn16-Jul-08 6:51 
GeneralRe: array 2d search Pin
Mark Salsbery16-Jul-08 6:55
Mark Salsbery16-Jul-08 6:55 
GeneralRe: array 2d search Pin
Luc Pattyn16-Jul-08 7:22
sitebuilderLuc Pattyn16-Jul-08 7:22 
GeneralRe: array 2d search Pin
Mark Salsbery16-Jul-08 12:19
Mark Salsbery16-Jul-08 12:19 
GeneralRe: array 2d search Pin
gordon305616-Jul-08 7:00
gordon305616-Jul-08 7:00 
AnswerRe: array 2d search Pin
krmed16-Jul-08 6:57
krmed16-Jul-08 6:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.