Click here to Skip to main content
15,892,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to import own icon Pin
gentleguy3-Sep-06 17:51
gentleguy3-Sep-06 17:51 
AnswerRe: how to import own icon Pin
_AnsHUMAN_ 3-Sep-06 18:05
_AnsHUMAN_ 3-Sep-06 18:05 
AnswerRe: how to import own icon Pin
Fired Fish3-Sep-06 18:30
Fired Fish3-Sep-06 18:30 
GeneralRe: how to import own icon Pin
toxcct4-Sep-06 5:00
toxcct4-Sep-06 5:00 
Questiondialog Pin
Duc Quang3-Sep-06 16:57
Duc Quang3-Sep-06 16:57 
AnswerRe: dialog Pin
velayudhan_raj3-Sep-06 17:05
velayudhan_raj3-Sep-06 17:05 
AnswerRe: dialog Pin
Mahesh Kulkarni3-Sep-06 18:44
Mahesh Kulkarni3-Sep-06 18:44 
AnswerRe: dialog Pin
Steve Echols3-Sep-06 19:45
Steve Echols3-Sep-06 19:45 
If you're trying to set the size of the window based on the content, you can use AdjustWindowRect or AdjustWindowRectEx to calculate the size of the new window based on the desired client rectangle.

These functions will convert your client rectangle into a window rectangle, which takes into account title bars, borders, etc. wich you then pass to the MoveWindow or SetWindowPos functions.


- S
50 cups of coffee and you know it's on!

QuestionHow to show the 'Privacy Report' dialog in CHtmlView Based Application? Pin
Tcpip20053-Sep-06 16:22
Tcpip20053-Sep-06 16:22 
QuestionGDI+ Bitmap Class new operator. Pin
mostafa_pasha3-Sep-06 10:37
mostafa_pasha3-Sep-06 10:37 
AnswerRe: GDI+ Bitmap Class new operator. Pin
Justin Tay3-Sep-06 13:06
Justin Tay3-Sep-06 13:06 
QuestionWhen debugging from VS it works, when running from explorer not Pin
lucki_luke3-Sep-06 9:46
lucki_luke3-Sep-06 9:46 
AnswerRe: When debugging from VS it works, when running from explorer not Pin
MayankT3-Sep-06 17:40
MayankT3-Sep-06 17:40 
GeneralRe: When debugging from VS it works, when running from explorer not Pin
lucki_luke4-Sep-06 9:40
lucki_luke4-Sep-06 9:40 
GeneralRe: When debugging from VS it works, when running from explorer not Pin
Blake Miller6-Sep-06 12:11
Blake Miller6-Sep-06 12:11 
QuestionMFC CString's LoadString and VC++ 8.0 Problems Pin
Jon68z3-Sep-06 9:21
Jon68z3-Sep-06 9:21 
QuestionRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
prasad_som3-Sep-06 22:56
prasad_som3-Sep-06 22:56 
AnswerRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
Jon68z3-Sep-06 23:32
Jon68z3-Sep-06 23:32 
GeneralRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
prasad_som4-Sep-06 0:05
prasad_som4-Sep-06 0:05 
GeneralRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
Jon68z4-Sep-06 0:33
Jon68z4-Sep-06 0:33 
QuestionRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
Jon68z4-Sep-06 0:50
Jon68z4-Sep-06 0:50 
AnswerRe: MFC CString's LoadString and VC++ 8.0 Problems Pin
prasad_som4-Sep-06 1:51
prasad_som4-Sep-06 1:51 
QuestionCPropertySheet Pin
ftsOne3-Sep-06 9:10
ftsOne3-Sep-06 9:10 
QuestionCertification Pin
messages3-Sep-06 8:12
messages3-Sep-06 8:12 
AnswerRe: Certification Pin
Waldermort3-Sep-06 8:19
Waldermort3-Sep-06 8:19 

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.