Click here to Skip to main content
15,908,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
I tried using the below code..

COMBOBOXINFO cbi;
cbi.cbSize = sizeof(COMBOBOXINFO);
m_ComboBox.GetComboBoxInfo(&cbi);
::SendMessage(cbi.hwndItem,WM_SETFONT,(WPARAM)pFont->m_hObject,TRUE);
::SendMessage(cbi.hwndCombo,WM_SETFONT,(WPARAM)pFont->m_hObject,TRUE);
::SendMessage(cbi.hwndList,WM_SETFONT,(WPARAM)pFont->m_hObject,TRUE);

Where pFont is a CFont* in which im having the bigger font..
All are changed except the Font in the selected item in the combobox..

The font in the selected item of Combobox is also changed but when i click on the combobox the font of the selected item is changing to older font ie small font...

Please help me regarding the same..
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 
GeneralRe: Printing a txt file Pin
Benjamin Bruno29-Oct-09 19:18
Benjamin Bruno29-Oct-09 19:18 
QuestionSpecial Significance of CSingleLock and CMultiLock ????? Pin
Hari_1628-Oct-09 19:16
Hari_1628-Oct-09 19:16 

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.