Click here to Skip to main content
15,867,568 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: IO Completion Ports and windows sockets Pin
Mark Salsbery27-Jun-11 14:13
Mark Salsbery27-Jun-11 14:13 
GeneralRe: IO Completion Ports and windows sockets Pin
csrss27-Jun-11 14:31
csrss27-Jun-11 14:31 
QuestionSOLVED MoveWindow dynamically - how to determine the destination? Pin
Vaclav_27-Jun-11 6:35
Vaclav_27-Jun-11 6:35 
AnswerRe: MoveWindow dynamically - how to determine the destination? Pin
Richard MacCutchan27-Jun-11 7:30
mveRichard MacCutchan27-Jun-11 7:30 
GeneralRe: MoveWindow dynamically - how to determine the destination? Pin
Albert Holguin27-Jun-11 8:19
professionalAlbert Holguin27-Jun-11 8:19 
GeneralRe: MoveWindow dynamically - how to determine the destination? Pin
Richard MacCutchan27-Jun-11 21:52
mveRichard MacCutchan27-Jun-11 21:52 
GeneralRe: MoveWindow dynamically - how to determine the destination? Pin
Albert Holguin28-Jun-11 3:36
professionalAlbert Holguin28-Jun-11 3:36 
AnswerRe: MoveWindow dynamically - how to determine the destination? Pin
Albert Holguin27-Jun-11 7:30
professionalAlbert Holguin27-Jun-11 7:30 
GetWindowRect() should work once you've converted coordinates using ScreenToClient() and assuming you've done the operation on the correct item.

For example, if you want the location of an anchor button:
CWnd *anchor = GetDlgItem(IDC_BUTTON);
RECT anchor_rect;
anchor->GetWindowRect(&anchor_rect);
ScreenToClient(&anchor_rect);

GeneralRe: MoveWindow dynamically - how to determine the destination? Pin
Vaclav_27-Jun-11 13:38
Vaclav_27-Jun-11 13:38 
GeneralRe: MoveWindow dynamically - how to determine the destination? Pin
Albert Holguin27-Jun-11 15:14
professionalAlbert Holguin27-Jun-11 15:14 
Questionlocalizing MFC feature pack (VS 2008) resources. Pin
kle8vi27-Jun-11 1:09
kle8vi27-Jun-11 1:09 
QuestionError while using A_StringFromGUID2 Pin
Pranit Kothari26-Jun-11 23:01
Pranit Kothari26-Jun-11 23:01 
AnswerRe: Error while using A_StringFromGUID2 Pin
Iain Clarke, Warrior Programmer26-Jun-11 23:19
Iain Clarke, Warrior Programmer26-Jun-11 23:19 
QuestionSetting Focus to a Dialog on Clicking it. [modified] Pin
pix_programmer26-Jun-11 22:48
pix_programmer26-Jun-11 22:48 
AnswerRe: Setting Focus to a Dialog on Clicking it. Pin
Iain Clarke, Warrior Programmer26-Jun-11 23:11
Iain Clarke, Warrior Programmer26-Jun-11 23:11 
GeneralRe: Setting Focus to a Dialog on Clicking it. Pin
pix_programmer26-Jun-11 23:18
pix_programmer26-Jun-11 23:18 
GeneralRe: Setting Focus to a Dialog on Clicking it. Pin
Iain Clarke, Warrior Programmer26-Jun-11 23:29
Iain Clarke, Warrior Programmer26-Jun-11 23:29 
AnswerRe: Setting Focus to a Dialog on Clicking it. Pin
d358207727-Jun-11 0:53
d358207727-Jun-11 0:53 
GeneralRe: Setting Focus to a Dialog on Clicking it. Pin
pix_programmer27-Jun-11 2:05
pix_programmer27-Jun-11 2:05 
QuestionON_COMMAND not working on mfc Pin
Mohibur Rashid26-Jun-11 5:28
professionalMohibur Rashid26-Jun-11 5:28 
AnswerRe: ON_COMMAND not working on mfc Pin
Richard MacCutchan26-Jun-11 6:04
mveRichard MacCutchan26-Jun-11 6:04 
GeneralRe: ON_COMMAND not working on mfc Pin
Mohibur Rashid26-Jun-11 12:32
professionalMohibur Rashid26-Jun-11 12:32 
GeneralRe: ON_COMMAND not working on mfc Pin
Richard MacCutchan26-Jun-11 21:23
mveRichard MacCutchan26-Jun-11 21:23 
GeneralRe: ON_COMMAND not working on mfc Pin
Mohibur Rashid26-Jun-11 21:28
professionalMohibur Rashid26-Jun-11 21:28 
GeneralRe: ON_COMMAND not working on mfc Pin
Iain Clarke, Warrior Programmer26-Jun-11 22:01
Iain Clarke, Warrior Programmer26-Jun-11 22:01 

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.