Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: painting background while resizing..... Pin
KarstenK20-Nov-02 2:41
mveKarstenK20-Nov-02 2:41 
GeneralRe: painting background while resizing..... Pin
georgiek5020-Nov-02 8:38
georgiek5020-Nov-02 8:38 
GeneralWH_JOURNALRECORD and WH_JOURNALPLAYBACK Pin
w200219-Nov-02 23:53
w200219-Nov-02 23:53 
GeneralCWebBrowser2 Control Question Pin
Anonymous19-Nov-02 23:49
Anonymous19-Nov-02 23:49 
GeneralRe: CWebBrowser2 Control Question Pin
Shaun Wilde20-Nov-02 1:22
Shaun Wilde20-Nov-02 1:22 
GeneralRe: CWebBrowser2 Control Question Pin
Anonymous22-Nov-02 2:44
Anonymous22-Nov-02 2:44 
GeneralRe: CWebBrowser2 Control Question Pin
Shaun Wilde22-Nov-02 5:25
Shaun Wilde22-Nov-02 5:25 
General::Postmessage(...) Pin
Raphael Kindt19-Nov-02 23:43
Raphael Kindt19-Nov-02 23:43 
Hi,
In my main application, i've created a thread which must send a message to a Document. Is this possible???
The ::Postmessage(...) work to send a message to a View (the first argument is a handle HWND)...
For the moment I send a message from this thread to the View and that work:
POSITION pos = GetFirstViewPosition();
HWND MyHwnd = (HWND) GetNextView(pos)->GetSafeHwnd();
DWORD error_flag = GetImage(m_pChannel, m_pImage, idcam); //not important here
::PostMessage(MyHwnd, WM_DISPLAYERRORMESSAGE, 0, (LPARAM) error_flag);

I want to send a message to the Document to simulate the use of a menu (e.i. "Stop" with the ID = ID_ACQUISITION_STOP)... How to do that...

Thanks in advance.

Hello World!!! Smile | :)
from Raphaël
GeneralRe: ::Postmessage(...) Pin
Hans Ruck20-Nov-02 1:03
Hans Ruck20-Nov-02 1:03 
GeneralIn what situation the winsock overlapped operation will return without complete the task Pin
Kerry Chou19-Nov-02 23:31
Kerry Chou19-Nov-02 23:31 
GeneralRe: In what situation the winsock overlapped operation will return without complete the task Pin
Jon Hulatt20-Nov-02 1:43
Jon Hulatt20-Nov-02 1:43 
QuestionHow to Get LPDRAWITEMSTRUCT from CWnd pointer? Pin
RuiSantiago19-Nov-02 23:31
RuiSantiago19-Nov-02 23:31 
AnswerRe: How to Get LPDRAWITEMSTRUCT from CWnd pointer? Pin
RuiSantiago20-Nov-02 1:47
RuiSantiago20-Nov-02 1:47 
GeneralMyPen.CreatePen(PS_COSMETIC|PS_ALTERNATE, 1, &logbr) fails in Win98 Pin
Daed19-Nov-02 22:31
Daed19-Nov-02 22:31 
GeneralRe: MyPen.CreatePen(PS_COSMETIC|PS_ALTERNATE, 1, &logbr) fails in Win98 Pin
KarstenK20-Nov-02 1:23
mveKarstenK20-Nov-02 1:23 
GeneralDocking bars and statusbar problem Pin
BishGada19-Nov-02 22:17
BishGada19-Nov-02 22:17 
GeneralRe: Docking bars and statusbar problem Pin
KaЯl20-Nov-02 0:09
KaЯl20-Nov-02 0:09 
GeneralRe: Docking bars and statusbar problem Pin
BishGada20-Nov-02 1:52
BishGada20-Nov-02 1:52 
GeneralRe: Docking bars and statusbar problem Pin
KaЯl20-Nov-02 2:16
KaЯl20-Nov-02 2:16 
Generalhelp! perhaps u can spot this... Pin
devvvy19-Nov-02 22:12
devvvy19-Nov-02 22:12 
GeneralRe: help! perhaps u can spot this... Pin
Shaun Wilde19-Nov-02 22:23
Shaun Wilde19-Nov-02 22:23 
GeneralRe: help! perhaps u can spot this... Pin
devvvy19-Nov-02 22:33
devvvy19-Nov-02 22:33 
GeneralRe: help! perhaps u can spot this... Pin
Shaun Wilde19-Nov-02 22:36
Shaun Wilde19-Nov-02 22:36 
GeneralRe: help! perhaps u can spot this... Pin
Shaun Wilde19-Nov-02 22:38
Shaun Wilde19-Nov-02 22:38 
GeneralRe: help! perhaps u can spot this... Pin
devvvy19-Nov-02 22:46
devvvy19-Nov-02 22:46 

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.