Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Shutting Down Remote PC Pin
David Crow28-Sep-07 2:53
David Crow28-Sep-07 2:53 
AnswerRe: Shutting Down Remote PC Pin
GauranG Shah28-Sep-07 3:05
GauranG Shah28-Sep-07 3:05 
GeneralRe: Shutting Down Remote PC Pin
David Crow28-Sep-07 3:11
David Crow28-Sep-07 3:11 
GeneralRe: Shutting Down Remote PC Pin
GauranG Shah28-Sep-07 3:26
GauranG Shah28-Sep-07 3:26 
QuestionRe: Shutting Down Remote PC Pin
David Crow28-Sep-07 3:47
David Crow28-Sep-07 3:47 
AnswerRe: Shutting Down Remote PC Pin
GauranG Shah28-Sep-07 4:02
GauranG Shah28-Sep-07 4:02 
QuestionRe: Shutting Down Remote PC Pin
David Crow28-Sep-07 4:17
David Crow28-Sep-07 4:17 
QuestionDLGTemplate MapDialogRect() problem Pin
prithaa26-Sep-07 21:55
prithaa26-Sep-07 21:55 
Hello,

I have a dialog without resources which works fine.In a class derived from CDialog I have a variable of type DLGTemplate.This variable has default x,y,cx,cy values set in the constructor.

But I want to increase the height and width of the dialog box in accordance with the number of windows controls added to the dialog box.I am adding windows controls in the OnCreate() function of Dialog class like this.
CRect Rect(10,10,100,100);
CComboBox* Combo = new CComboBox;
Combo->Create(WS_VISIBLE | WS_CHILD |CBS_SORT, Rect, this, ID);

How do I find the relation between the above Rect's coordinates and the coordinates of the dialog box?
I tried MapDialogRect but I don't understand what exactly is done there?
Please help.

Thanks
Prithaa
AnswerRe: DLGTemplate MapDialogRect() problem Pin
Jason Teagle26-Sep-07 22:38
Jason Teagle26-Sep-07 22:38 
AnswerRe: DLGTemplate MapDialogRect() problem Pin
Mark Salsbery27-Sep-07 5:43
Mark Salsbery27-Sep-07 5:43 
QuestionLPT Listener using thread Pin
TPN26-Sep-07 21:05
TPN26-Sep-07 21:05 
AnswerRe: LPT Listener using thread Pin
Cedric Moonen26-Sep-07 22:19
Cedric Moonen26-Sep-07 22:19 
GeneralRe: LPT Listener using thread Pin
TPN27-Sep-07 0:44
TPN27-Sep-07 0:44 
GeneralRe: LPT Listener using thread Pin
Cedric Moonen27-Sep-07 4:34
Cedric Moonen27-Sep-07 4:34 
GeneralRe: LPT Listener using thread Pin
TPN27-Sep-07 19:53
TPN27-Sep-07 19:53 
AnswerRe: LPT Listener using thread Pin
Rahul Vaishnav27-Sep-07 1:13
Rahul Vaishnav27-Sep-07 1:13 
GeneralRe: LPT Listener using thread Pin
TPN27-Sep-07 19:57
TPN27-Sep-07 19:57 
GeneralRe: LPT Listener using thread Pin
JudyL_MD28-Sep-07 1:59
JudyL_MD28-Sep-07 1:59 
GeneralRe: LPT Listener using thread Pin
JudyL_MD28-Sep-07 2:03
JudyL_MD28-Sep-07 2:03 
AnswerRe: LPT Listener using thread Pin
David Crow27-Sep-07 3:30
David Crow27-Sep-07 3:30 
AnswerRe: LPT Listener using thread Pin
Rahul Vaishnav2-Oct-07 20:07
Rahul Vaishnav2-Oct-07 20:07 
Questiona pointer Pin
youbo26-Sep-07 21:01
youbo26-Sep-07 21:01 
AnswerRe: a pointer Pin
youbo26-Sep-07 21:31
youbo26-Sep-07 21:31 
GeneralRe: a pointer Pin
toxcct26-Sep-07 21:39
toxcct26-Sep-07 21:39 
AnswerRe: a pointer Pin
toxcct26-Sep-07 21:35
toxcct26-Sep-07 21:35 

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.