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

C / C++ / MFC

 
AnswerRe: How to restart MFC dialog application? Pin
Arjan Schouten2-Aug-03 1:10
Arjan Schouten2-Aug-03 1:10 
QuestionDoEvent() in Visual C++? Pin
Behzad Ebrahimi1-Aug-03 22:36
Behzad Ebrahimi1-Aug-03 22:36 
AnswerRe: DoEvent() in Visual C++? Pin
Alexander M.,2-Aug-03 3:04
Alexander M.,2-Aug-03 3:04 
AnswerRe: DoEvent() in Visual C++? Pin
Michael Dunn2-Aug-03 5:35
sitebuilderMichael Dunn2-Aug-03 5:35 
GeneralGDI+ vs. DDE Pin
Bartosz Bien1-Aug-03 21:42
Bartosz Bien1-Aug-03 21:42 
GeneralCustom tree control Pin
Marissa1821-Aug-03 21:03
Marissa1821-Aug-03 21:03 
GeneralRe: Custom tree control Pin
HPSI2-Aug-03 1:37
HPSI2-Aug-03 1:37 
GeneralRe: Custom tree control Pin
Michael Dunn2-Aug-03 5:39
sitebuilderMichael Dunn2-Aug-03 5:39 
The previous answer is right, but the reason you need the ScreenToClient() call is that GetWindowRect() returns the coords relative to the screen, but Create() takes coords relative to the dialog's client area.

--Mike--
Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber
Latest art~!@#2rDFA#@(#*%$Rfa39f3fqwf--=
NO CARRIER
GeneralWeird popup menu display on XP Pin
liop1-Aug-03 19:06
liop1-Aug-03 19:06 
GeneralRe: Weird popup menu display on XP Pin
MAAK1-Aug-03 22:52
MAAK1-Aug-03 22:52 
QuestionMFC application in NT services giving problem on LOG OFF???? Pin
Rohit Dhamija1-Aug-03 18:41
Rohit Dhamija1-Aug-03 18:41 
GeneralPopup Menus Pin
Marissa1821-Aug-03 17:52
Marissa1821-Aug-03 17:52 
GeneralRe: Popup Menus Pin
HPSI1-Aug-03 18:22
HPSI1-Aug-03 18:22 
GeneralRe: Popup Menus Pin
Snillet2k7-Mar-04 9:01
Snillet2k7-Mar-04 9:01 
GeneralRe: Popup Menus Pin
Anonymous2-Aug-03 0:22
Anonymous2-Aug-03 0:22 
QuestionHow to use ofstream to output muliple files, please help! Pin
tomsspc1-Aug-03 17:37
tomsspc1-Aug-03 17:37 
AnswerRe: How to use ofstream to output muliple files, please help! Pin
Michael Dunn1-Aug-03 18:25
sitebuilderMichael Dunn1-Aug-03 18:25 
GeneralRe: How to use ofstream to output muliple files, please help! Pin
Anonymous2-Aug-03 12:33
Anonymous2-Aug-03 12:33 
GeneralSendMessage and buffer question Pin
alex.barylski1-Aug-03 15:12
alex.barylski1-Aug-03 15:12 
GeneralRe: SendMessage and buffer question Pin
Chris Richardson1-Aug-03 15:49
Chris Richardson1-Aug-03 15:49 
GeneralRe: SendMessage and buffer question Pin
alex.barylski2-Aug-03 16:22
alex.barylski2-Aug-03 16:22 
GeneralRe: SendMessage and buffer question Pin
Michael Dunn1-Aug-03 17:03
sitebuilderMichael Dunn1-Aug-03 17:03 
GeneralCFileFind Pin
Dor1-Aug-03 15:04
Dor1-Aug-03 15:04 
GeneralRe: CFileFind Pin
HPSI1-Aug-03 18:03
HPSI1-Aug-03 18:03 
GeneralSQL server OLEDB connection with vc++ Pin
haritadala1-Aug-03 14:27
haritadala1-Aug-03 14:27 

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.