Click here to Skip to main content
15,901,426 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to declare pointer to member function Pin
Aescleal27-Aug-10 22:21
Aescleal27-Aug-10 22:21 
AnswerRe: How to declare pointer to member function Pin
«_Superman_»27-Aug-10 18:20
professional«_Superman_»27-Aug-10 18:20 
AnswerRe: How to declare pointer to member function Pin
Paul Michalik28-Aug-10 0:55
Paul Michalik28-Aug-10 0:55 
GeneralRe: How to declare pointer to member function Pin
Aescleal28-Aug-10 4:52
Aescleal28-Aug-10 4:52 
GeneralRe: How to declare pointer to member function Pin
Paul Michalik28-Aug-10 9:52
Paul Michalik28-Aug-10 9:52 
GeneralRe: How to declare pointer to member function Pin
Aescleal28-Aug-10 11:10
Aescleal28-Aug-10 11:10 
GeneralRe: How to declare pointer to member function Pin
Paul Michalik28-Aug-10 21:40
Paul Michalik28-Aug-10 21:40 
QuestionAfxGetMainWnd() returns the window of another application!!!! Pin
VCSharp00727-Aug-10 0:08
VCSharp00727-Aug-10 0:08 
Hi,
I am facing a problem related to window handle.
I have loaded two different OCXs in different instances of the same container application(OLE Server).
In OnCreate() method of second OCX control I am calling the AfxGetMainWnd()function.
It is called after calling the base class function of OnCreate() method.

Now trying to run both instances simultaneously.
The problem is sometimes AfxGetMainWnd()function returns the pointer to a window of first OCX control which is loaded in the first container instance just before. Why it happens?

Thankx in advance.

Regards,
SUnil
Questionwindow controls are not getting resized while dragging the window Pin
arun_pk27-Aug-10 0:04
arun_pk27-Aug-10 0:04 
AnswerRe: window controls are not getting resized while dragging the window Pin
Cool_Dev27-Aug-10 2:24
Cool_Dev27-Aug-10 2:24 
AnswerRe: window controls are not getting resized while dragging the window Pin
David Crow27-Aug-10 6:46
David Crow27-Aug-10 6:46 
QuestionProblem in binary file writing Pin
ganesh_IT26-Aug-10 23:52
ganesh_IT26-Aug-10 23:52 
AnswerRe: Problem in binary file writing Pin
Sauro Viti27-Aug-10 0:01
professionalSauro Viti27-Aug-10 0:01 
QuestionBinary file read writing problem Pin
ganesh_IT26-Aug-10 23:46
ganesh_IT26-Aug-10 23:46 
AnswerRe: Binary file read writing problem PinPopular
CPallini26-Aug-10 23:51
mveCPallini26-Aug-10 23:51 
AnswerRe: Binary file read writing problem Pin
ThatsAlok29-Aug-10 20:59
ThatsAlok29-Aug-10 20:59 
QuestionGUI Pin
T.RATHA KRISHNAN26-Aug-10 20:10
T.RATHA KRISHNAN26-Aug-10 20:10 
AnswerRe: GUI Pin
Niklas L26-Aug-10 22:00
Niklas L26-Aug-10 22:00 
GeneralRe: GUI Pin
T.RATHA KRISHNAN26-Aug-10 23:05
T.RATHA KRISHNAN26-Aug-10 23:05 
GeneralRe: GUI Pin
Niklas L26-Aug-10 23:22
Niklas L26-Aug-10 23:22 
GeneralRe: GUI Pin
T.RATHA KRISHNAN26-Aug-10 23:29
T.RATHA KRISHNAN26-Aug-10 23:29 
GeneralRe: GUI Pin
Niklas L27-Aug-10 1:09
Niklas L27-Aug-10 1:09 
GeneralRe: GUI Pin
T.RATHA KRISHNAN27-Aug-10 2:08
T.RATHA KRISHNAN27-Aug-10 2:08 
GeneralRe: GUI Pin
Niklas L27-Aug-10 2:45
Niklas L27-Aug-10 2:45 
Questionunresolved external symbol in TAPI prog Pin
AmbiguousName26-Aug-10 10:46
AmbiguousName26-Aug-10 10: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.