Click here to Skip to main content
15,902,275 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to check if any specific folder is empty [modified] Pin
Michael Schubert29-Oct-09 1:04
Michael Schubert29-Oct-09 1:04 
GeneralRe: How to check if any specific folder is empty Pin
sunny_vc29-Oct-09 1:49
sunny_vc29-Oct-09 1:49 
AnswerRe: How to check if any specific folder is empty Pin
Blake Miller3-Nov-09 10:54
Blake Miller3-Nov-09 10:54 
QuestionProblem in inserting new page during print - MFC Pin
diptipanchal28-Oct-09 22:27
diptipanchal28-Oct-09 22:27 
AnswerRe: Problem in inserting new page during print - MFC Pin
David Crow29-Oct-09 2:46
David Crow29-Oct-09 2:46 
QuestionWin 2K IIS 5.0 hangs Pin
ptr_Electron28-Oct-09 21:20
ptr_Electron28-Oct-09 21:20 
QuestionCombo Pin
kumar sanghvi28-Oct-09 20:25
kumar sanghvi28-Oct-09 20:25 
AnswerRe: Combo [modified] Pin
Adam Roderick J28-Oct-09 22:01
Adam Roderick J28-Oct-09 22:01 
Just set the font size as mentioned below with m_Font as member.
Doing so will increase the height of the combo box according to the font size and font type
To increase the width, you can SetWindowPos or MoveWindow functions .
CDC *pDC = GetDC();
    LOGFONT lFont;
    memset(&lFont, 0, sizeof(lFont));
    lFont.lfHeight = 34;
    lFont.lfWeight = FW_NORMAL;
    lFont.lfOutPrecision = OUT_TT_ONLY_PRECIS;
    strcpy( lFont.lfFaceName, _T("Lucida Sans Unicode"));
    // Set the Font
    m_Font.CreateFontIndirect(&lFont);

    // Set the specified font for the edit ctrl.
    m_pComBo->SetFont(&m_Font);


Величие не Бога может быть недооценена.

modified on Thursday, October 29, 2009 4:15 AM

AnswerRe: Combo Pin
CPallini28-Oct-09 22:20
mveCPallini28-Oct-09 22:20 
GeneralRe: Combo Pin
kumar sanghvi28-Oct-09 23:27
kumar sanghvi28-Oct-09 23:27 
GeneralRe: Combo Pin
Adam Roderick J28-Oct-09 23:52
Adam Roderick J28-Oct-09 23:52 
GeneralRe: Combo Pin
kumar sanghvi29-Oct-09 0:14
kumar sanghvi29-Oct-09 0:14 
GeneralRe: Combo Pin
kumar sanghvi29-Oct-09 0:47
kumar sanghvi29-Oct-09 0:47 
AnswerRe: Combo Pin
Iain Clarke, Warrior Programmer28-Oct-09 22:46
Iain Clarke, Warrior Programmer28-Oct-09 22:46 
QuestionRetreive Ip Address Pin
Abinash Mohanty28-Oct-09 19:28
Abinash Mohanty28-Oct-09 19:28 
AnswerRe: Retreive Ip Address Pin
Adam Roderick J28-Oct-09 19:30
Adam Roderick J28-Oct-09 19:30 
QuestionPrinting a txt file Pin
Benjamin Bruno28-Oct-09 19:24
Benjamin Bruno28-Oct-09 19:24 
AnswerRe: Printing a txt file Pin
«_Superman_»28-Oct-09 19:59
professional«_Superman_»28-Oct-09 19:59 
GeneralRe: Printing a txt file Pin
Benjamin Bruno29-Oct-09 2:35
Benjamin Bruno29-Oct-09 2:35 
AnswerRe: Printing a txt file Pin
David Crow29-Oct-09 3:19
David Crow29-Oct-09 3:19 
GeneralRe: Printing a txt file Pin
Benjamin Bruno29-Oct-09 18:26
Benjamin Bruno29-Oct-09 18:26 
GeneralRe: Printing a txt file Pin
dxlee29-Oct-09 3:59
dxlee29-Oct-09 3:59 
GeneralRe: Printing a txt file Pin
Benjamin Bruno29-Oct-09 18:29
Benjamin Bruno29-Oct-09 18:29 
GeneralRe: Printing a txt file Pin
dxlee30-Oct-09 4:57
dxlee30-Oct-09 4:57 
AnswerRe: Printing a txt file Pin
David Crow29-Oct-09 2:51
David Crow29-Oct-09 2:51 

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.