Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to identify the microphone between several microphones Pin
Swapnil Shah24-Jul-09 0:20
Swapnil Shah24-Jul-09 0:20 
QuestionCComPtr<iwshruntimelibrary::ifilesystem xmlns:iwshruntimelibrary="#unknown"> works fine in Win2003 and fails in Win2008 Std SP2</iwshruntimelibrary::ifilesystem> Pin
V K 223-Jul-09 23:14
V K 223-Jul-09 23:14 
AnswerRe: CComPtr works fine in Win2003 and fails in Win2008 Std SP2 Pin
Adam Roderick J24-Jul-09 1:33
Adam Roderick J24-Jul-09 1:33 
QuestionHow can make Group Box text bold in Property Sheet? Pin
Le@rner23-Jul-09 22:31
Le@rner23-Jul-09 22:31 
AnswerRe: How can make Group Box text bold in Property Sheet? Pin
«_Superman_»23-Jul-09 22:36
professional«_Superman_»23-Jul-09 22:36 
AnswerRe: How can make Group Box text bold in Property Sheet? Pin
Rajesh R Subramanian23-Jul-09 22:39
professionalRajesh R Subramanian23-Jul-09 22:39 
GeneralRe: How can make Group Box text bold in Property Sheet? Pin
Le@rner23-Jul-09 23:04
Le@rner23-Jul-09 23:04 
GeneralRe: How can make Group Box text bold in Property Sheet? [modified] Pin
Michael Schubert23-Jul-09 23:16
Michael Schubert23-Jul-09 23:16 
OK, try this code:

CFont f1;
LOGFONT lf1;
::ZeroMemory(&lf1, sizeof(lf1));
lf1.lfHeight = 16;
lf1.lfCharSet = ANSI_CHARSET;
lf1.lfWeight = FW_BOLD;
::lstrcpy(lf1.lfFaceName, "Arial");
f1.CreateFontIndirect(&lf1);
GetDlgItem(IDC_GROUPBOX)->SetFont(&f1);
f1.Detach();


Obviously you'll have to change some things to make it work with your code but you'll get the idea.

Edit:
Actually, you might want to clarify first what Rajesh asked:
You mean some text inside the groupbox or the caption of the groupbox?

modified on Friday, July 24, 2009 5:25 AM

GeneralRe: How can make Group Box text bold in Property Sheet? Pin
Le@rner23-Jul-09 23:47
Le@rner23-Jul-09 23:47 
GeneralRe: How can make Group Box text bold in Property Sheet? Pin
Michael Schubert24-Jul-09 0:27
Michael Schubert24-Jul-09 0:27 
GeneralRe: How can make Group Box text bold in Property Sheet? Pin
Rajesh R Subramanian24-Jul-09 0:49
professionalRajesh R Subramanian24-Jul-09 0:49 
GeneralRe: How can make Group Box text bold in Property Sheet? Pin
Michael Schubert24-Jul-09 1:01
Michael Schubert24-Jul-09 1:01 
QuestionProblem about WUA Api Pin
hanq_3891013023-Jul-09 21:57
hanq_3891013023-Jul-09 21:57 
QuestionHow to know if a particular logical drive is in use by explorer or any other process of windows? Pin
Kushagra Tiwari23-Jul-09 21:13
Kushagra Tiwari23-Jul-09 21:13 
AnswerRe: How to know if a particular logical drive is in use by explorer or any other process of windows? Pin
Adam Roderick J23-Jul-09 22:30
Adam Roderick J23-Jul-09 22:30 
QuestionRe: How to know if a particular logical drive is in use by explorer or any other process of windows? Pin
Kushagra Tiwari23-Jul-09 23:01
Kushagra Tiwari23-Jul-09 23:01 
QuestionRe: How to know if a particular logical drive is in use by explorer or any other process of windows? Pin
Kushagra Tiwari26-Jul-09 21:47
Kushagra Tiwari26-Jul-09 21:47 
QuestionPointer mess Pin
Elsie23-Jul-09 20:49
Elsie23-Jul-09 20:49 
AnswerRe: Pointer mess Pin
KarstenK23-Jul-09 21:12
mveKarstenK23-Jul-09 21:12 
AnswerRe: Pointer mess Pin
Mahesh Kulkarni23-Jul-09 21:26
Mahesh Kulkarni23-Jul-09 21:26 
AnswerRe: Pointer mess Pin
«_Superman_»23-Jul-09 23:43
professional«_Superman_»23-Jul-09 23:43 
Questioncab installation failed Pin
hareshel23-Jul-09 20:14
hareshel23-Jul-09 20:14 
Questionoutput of for loop with condition as i=printf("hello") Pin
myinstincts23-Jul-09 19:27
myinstincts23-Jul-09 19:27 
AnswerRe: output of for loop with condition as i=printf("hello") Pin
manchukuo23-Jul-09 19:38
manchukuo23-Jul-09 19:38 
AnswerRe: output of for loop with condition as i=printf("hello") Pin
Adam Roderick J23-Jul-09 22:37
Adam Roderick J23-Jul-09 22:37 

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.