Click here to Skip to main content
15,892,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: accessing control from generic class Pin
Roj20-Mar-04 10:43
Roj20-Mar-04 10:43 
GeneralHello Help on CView !!! Pin
itmpras17-Mar-04 18:41
itmpras17-Mar-04 18:41 
GeneralRe: Hello Help on CView !!! Pin
Antti Keskinen17-Mar-04 21:31
Antti Keskinen17-Mar-04 21:31 
GeneralRe: Hello Help on CView !!! Pin
itmpras17-Mar-04 22:38
itmpras17-Mar-04 22:38 
GeneralSendMessag/Post Message Pin
AnnJS17-Mar-04 18:18
AnnJS17-Mar-04 18:18 
GeneralRe: SendMessag/Post Message Pin
tcss17-Mar-04 20:25
tcss17-Mar-04 20:25 
GeneralRe: SendMessag/Post Message Pin
Balkrishna Talele17-Mar-04 22:37
Balkrishna Talele17-Mar-04 22:37 
GeneralRe: SendMessag/Post Message Pin
David Crow18-Mar-04 3:17
David Crow18-Mar-04 3:17 
Technically, you can't use SendMessage() or PostMessage() to call functions. The message handler can, however.

#define PM_STARTPROC 123
 
BEGIN_MESSAGE_MAP(CMyDialog, CDialog)
    //{{AFX_MSG_MAP(CMyDialog)
    //}}AFX_MSG_MAP
    ON_MESSAGE(PM_STARTPROC, OnStart)
END_MESSAGE_MAP()
 
BOOL CMyDialog::OnInitDialog()
{
    CDialog::OnInitDialog();
 
    PostMessage(PM_STARTPROC);
 
    return TRUE;
}
 
LRESULT CMyDialog::OnStart( WPARAM wParam, LPARAM lParam )
{
    return (0);
}



"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)


QuestionHow to insert icon into a toolbar? Pin
P_JAYAPRAKASH17-Mar-04 17:39
P_JAYAPRAKASH17-Mar-04 17:39 
AnswerRe: How to insert icon into a toolbar? Pin
Prakash Nadar17-Mar-04 19:48
Prakash Nadar17-Mar-04 19:48 
AnswerRe: How to insert icon into a toolbar? Pin
Balkrishna Talele17-Mar-04 22:14
Balkrishna Talele17-Mar-04 22:14 
Generalaccess violation 0xC0000005 when calling func in dll Pin
suninwater17-Mar-04 15:36
suninwater17-Mar-04 15:36 
GeneralRe: access violation 0xC0000005 when calling func in dll Pin
ian mariano17-Mar-04 17:26
ian mariano17-Mar-04 17:26 
GeneralSome questions when declare a function Pin
nachilau17-Mar-04 15:32
nachilau17-Mar-04 15:32 
GeneralRe: Some questions when declare a function Pin
Prakash Nadar17-Mar-04 16:52
Prakash Nadar17-Mar-04 16:52 
GeneralMessage Box Hanging the Application Pin
jerry1211a17-Mar-04 14:23
jerry1211a17-Mar-04 14:23 
GeneralRe: Message Box Hanging the Application Pin
Prakash Nadar17-Mar-04 15:13
Prakash Nadar17-Mar-04 15:13 
GeneralRe: Message Box Hanging the Application Pin
Balkrishna Talele17-Mar-04 22:20
Balkrishna Talele17-Mar-04 22:20 
GeneralRe: Message Box Hanging the Application Pin
Prakash Nadar17-Mar-04 22:58
Prakash Nadar17-Mar-04 22:58 
GeneralRe: Message Box Hanging the Application Pin
Balkrishna Talele17-Mar-04 22:18
Balkrishna Talele17-Mar-04 22:18 
GeneralURGENT -- creating msi package for a vc++ application Pin
Member 84062417-Mar-04 13:59
Member 84062417-Mar-04 13:59 
GeneralRe: URGENT -- creating msi package for a vc++ application Pin
P_JAYAPRAKASH17-Mar-04 17:42
P_JAYAPRAKASH17-Mar-04 17:42 
GeneralRe: URGENT -- creating msi package for a vc++ application Pin
Anonymous17-Mar-04 18:56
Anonymous17-Mar-04 18:56 
GeneralCDC Pin
Anonymous17-Mar-04 12:26
Anonymous17-Mar-04 12:26 
GeneralRe: CDC Pin
gUrM33T17-Mar-04 14:22
gUrM33T17-Mar-04 14:22 

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.