Click here to Skip to main content
15,905,616 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListBox WM_MEASUREITEM problems Pin
alex.barylski2-Oct-02 19:59
alex.barylski2-Oct-02 19:59 
Questionhow the control goes to my own created procedure Pin
imran_rafique2-Oct-02 13:12
imran_rafique2-Oct-02 13:12 
AnswerRe: how the control goes to my own created procedure Pin
Anders Molin2-Oct-02 13:39
professionalAnders Molin2-Oct-02 13:39 
AnswerRe: how the control goes to my own created procedure Pin
jmkhael2-Oct-02 22:50
jmkhael2-Oct-02 22:50 
Questionhow to log off and login user Pin
imran_rafique2-Oct-02 12:56
imran_rafique2-Oct-02 12:56 
AnswerRe: how to log off and login user Pin
Nilesh Karkhanis3-Oct-02 3:51
Nilesh Karkhanis3-Oct-02 3:51 
GeneralRAS from service Pin
Alexey Yakovlev2-Oct-02 12:54
Alexey Yakovlev2-Oct-02 12:54 
Questionhow to halt mouse and key board Pin
imran_rafique2-Oct-02 12:43
imran_rafique2-Oct-02 12:43 
AnswerRe: how to halt mouse and key board Pin
alex.barylski2-Oct-02 13:36
alex.barylski2-Oct-02 13:36 
GeneralRe: how to halt mouse and key board Pin
imran_rafique2-Oct-02 17:02
imran_rafique2-Oct-02 17:02 
GeneralRe: how to halt mouse and key board Pin
Chris Losinger2-Oct-02 19:16
professionalChris Losinger2-Oct-02 19:16 
GeneralMultithreading :: MFC Pin
valikac2-Oct-02 12:18
valikac2-Oct-02 12:18 
GeneralRe: Multithreading :: MFC Pin
Michael Dunn2-Oct-02 19:23
sitebuilderMichael Dunn2-Oct-02 19:23 
GeneralRe: Multithreading :: MFC Pin
valikac2-Oct-02 19:57
valikac2-Oct-02 19:57 
GeneralDetecting disk letter changes on 2K/XP Pin
Mukkie2-Oct-02 11:51
Mukkie2-Oct-02 11:51 
GeneralDC absolute position Pin
Goa2-Oct-02 11:27
Goa2-Oct-02 11:27 
GeneralRe: DC absolute position Pin
Scott H. Settlemier2-Oct-02 12:03
Scott H. Settlemier2-Oct-02 12:03 
GeneralRe: DC absolute position Pin
alex.barylski2-Oct-02 12:08
alex.barylski2-Oct-02 12:08 
Depends on what DC you want I guess.

1) CClientDC
2) CWindowDC

Then i'm guessing you could call GetClientRect() and GetWindowRect() and convert the logical points to device points using LPtoDP() which would give you the absolute position of the requested DC in pixels (i think).

Cheers! Smile | :)

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
QuestionWM_LBUTTONDBLCLK not coming ? Pin
insanely4202-Oct-02 11:14
insanely4202-Oct-02 11:14 
AnswerRe: WM_LBUTTONDBLCLK not coming ? Pin
valikac2-Oct-02 11:22
valikac2-Oct-02 11:22 
AnswerRe: WM_LBUTTONDBLCLK not coming ? Pin
alex.barylski2-Oct-02 11:56
alex.barylski2-Oct-02 11:56 
GeneralRe: WM_LBUTTONDBLCLK not coming ? Pin
insanely4203-Oct-02 21:59
insanely4203-Oct-02 21:59 
GeneralDNS to IP resolution Pin
Anonymous2-Oct-02 11:00
Anonymous2-Oct-02 11:00 
GeneralRe: DNS to IP resolution Pin
Dave Bryant2-Oct-02 11:06
Dave Bryant2-Oct-02 11:06 
GeneralRe: DNS to IP resolution Pin
Anonymous2-Oct-02 11:56
Anonymous2-Oct-02 11:56 

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.