Click here to Skip to main content
15,886,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to select the text of windows client area Pin
Niklas L27-Feb-11 23:07
Niklas L27-Feb-11 23:07 
GeneralRe: how to select the text of windows client area Pin
sarfaraznawaz4-Mar-11 1:55
sarfaraznawaz4-Mar-11 1:55 
GeneralRe: how to select the text of windows client area Pin
Niklas L4-Mar-11 9:52
Niklas L4-Mar-11 9:52 
QuestionHow to use PostMessage function to Close the Recorder of MS-Window-XP Pin
cerne1840@yahoo.com9-Feb-11 17:05
cerne1840@yahoo.com9-Feb-11 17:05 
AnswerRe: How to use PostMessage function to Close the Recorder of MS-Window-XP Pin
Cool_Dev9-Feb-11 19:06
Cool_Dev9-Feb-11 19:06 
AnswerRe: How to use PostMessage function to Close the Recorder of MS-Window-XP Pin
User 74293389-Feb-11 19:56
professionalUser 74293389-Feb-11 19:56 
AnswerRe: How to use PostMessage function to Close the Recorder of MS-Window-XP Pin
Cool_Dev9-Feb-11 20:11
Cool_Dev9-Feb-11 20:11 
QuestionHeight of combo-box Pin
includeh109-Feb-11 7:07
includeh109-Feb-11 7:07 
when a combo-box closed up (with drop-down or drop-down-list style), I need to get its outside height.

GetWindowRect() works normally, but, when its parent window is in min (icon) state then to restore or max state, the function doesn't work - gets rect including drop-down part.

I use this way:

int iItemH=MyComboBox.GetItemHeight(-1);
int iFrmH=::GetSystemMetrics(SM_CYEDGE);
int iCmbH=iItemH+iFrmH*2+2;

The iCmbH is what I need, but code looks no good,do you have a trusted and better idea to get its height?
AnswerRe: Height of combo-box Pin
User 74293389-Feb-11 7:21
professionalUser 74293389-Feb-11 7:21 
GeneralRe: Height of combo-box Pin
includeh109-Feb-11 22:10
includeh109-Feb-11 22:10 
GeneralRe: Height of combo-box Pin
sarfaraznawaz10-Feb-11 1:35
sarfaraznawaz10-Feb-11 1:35 
AnswerRe: Height of combo-box [modified] Pin
User 742933810-Feb-11 5:14
professionalUser 742933810-Feb-11 5:14 
QuestionAccording to the size of the rectangle how to choose the appropriate font ? Pin
confideman20008-Feb-11 21:49
confideman20008-Feb-11 21:49 
QuestionRe: According to the size of the rectangle how to choose the appropriate font ? Pin
CPallini8-Feb-11 23:51
mveCPallini8-Feb-11 23:51 
AnswerRe: According to the size of the rectangle how to choose the appropriate font ? Pin
confideman20009-Feb-11 0:39
confideman20009-Feb-11 0:39 
GeneralRe: According to the size of the rectangle how to choose the appropriate font ? Pin
CPallini9-Feb-11 0:47
mveCPallini9-Feb-11 0:47 
GeneralRe: According to the size of the rectangle how to choose the appropriate font ? Pin
confideman20009-Feb-11 4:36
confideman20009-Feb-11 4:36 
AnswerRe: According to the size of the rectangle how to choose the appropriate font ? Pin
Eugen Podsypalnikov9-Feb-11 11:51
Eugen Podsypalnikov9-Feb-11 11:51 
QuestionCppUnit creating only one instance of a TestFixture type for a suite Pin
cydd8-Feb-11 19:21
cydd8-Feb-11 19:21 
AnswerRe: CppUnit creating only one instance of a TestFixture type for a suite Pin
Cool_Dev8-Feb-11 20:05
Cool_Dev8-Feb-11 20:05 
GeneralRe: CppUnit creating only one instance of a TestFixture type for a suite Pin
cydd8-Feb-11 22:19
cydd8-Feb-11 22:19 
AnswerRe: CppUnit creating only one instance of a TestFixture type for a suite Pin
Niklas L8-Feb-11 23:17
Niklas L8-Feb-11 23:17 
GeneralRe: CppUnit creating only one instance of a TestFixture type for a suite Pin
cydd8-Feb-11 23:27
cydd8-Feb-11 23:27 
GeneralRe: CppUnit creating only one instance of a TestFixture type for a suite Pin
Niklas L9-Feb-11 1:35
Niklas L9-Feb-11 1:35 
Questionproblem in line plotting IN VC++ Pin
dalvihrishi8-Feb-11 19:14
dalvihrishi8-Feb-11 19:14 

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.