Click here to Skip to main content
15,891,253 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Event Handling for Dynamically created ListBox Pin
MANISH RASTOGI28-Jun-08 2:11
MANISH RASTOGI28-Jun-08 2:11 
GeneralRe: Event Handling for Dynamically created ListBox Pin
chetanjoshi928-Jun-08 2:34
chetanjoshi928-Jun-08 2:34 
AnswerRe: Event Handling for Dynamically created ListBox Pin
Karthik Kalyanasundaram28-Jun-08 5:58
Karthik Kalyanasundaram28-Jun-08 5:58 
AnswerRe: Event Handling for Dynamically created ListBox Pin
Hamid_RT30-Jun-08 18:56
Hamid_RT30-Jun-08 18:56 
QuestionIncreasing font size of text in static text box Pin
VCProgrammer28-Jun-08 0:29
VCProgrammer28-Jun-08 0:29 
AnswerRe: Increasing font size of text in static text box Pin
leonigah28-Jun-08 2:16
leonigah28-Jun-08 2:16 
AnswerRe: Increasing font size of text in static text box Pin
Ștefan-Mihai MOGA28-Jun-08 3:36
professionalȘtefan-Mihai MOGA28-Jun-08 3:36 
AnswerRe: Increasing font size of text in static text box [modified] Pin
Karthik Kalyanasundaram28-Jun-08 6:04
Karthik Kalyanasundaram28-Jun-08 6:04 
I assume that you are mentioning about changing the font size of the STATIC control. You can simply use SetFont() function on the Static controls.
     CFont font;
font.CreateFont( 50, 0, 0, 0, FW_BOLD, 0, 0, 0, 0, 0, 0, 0, 0, _T("Times New Roman") );
CWnd* pWnd = GetDlgItem( IDC_STATIC1 );
if( pWnd )
{
    pWnd->SetFont( &font );
    font.Detach();
}


Do more work
Make more mistakes
Learn more things

modified on Saturday, June 28, 2008 12:15 PM

AnswerRe: Increasing font size of text in static text box Pin
Hamid_RT30-Jun-08 18:54
Hamid_RT30-Jun-08 18:54 
Questionhow to return variable to VB.NET Pin
boyindie27-Jun-08 23:18
boyindie27-Jun-08 23:18 
QuestionHow to create "Bitmap Font " using Pixel Data. Pin
phanindra varma27-Jun-08 23:12
phanindra varma27-Jun-08 23:12 
AnswerRe: How to create "Bitmap Font " using Pixel Data. Pin
Hamid_RT30-Jun-08 18:51
Hamid_RT30-Jun-08 18:51 
QuestionProfiling in Visual Studio Pin
AndreFratelli27-Jun-08 22:48
AndreFratelli27-Jun-08 22:48 
AnswerRe: Profiling in Visual Studio Pin
Hamid_RT30-Jun-08 18:47
Hamid_RT30-Jun-08 18:47 
GeneralRe: Profiling in Visual Studio Pin
AndreFratelli14-Jul-08 10:10
AndreFratelli14-Jul-08 10:10 
Questionsql server using ODBC in a MFC application Pin
jiangbing27-Jun-08 21:41
jiangbing27-Jun-08 21:41 
AnswerRe: sql server using ODBC in a MFC application Pin
Ștefan-Mihai MOGA28-Jun-08 3:42
professionalȘtefan-Mihai MOGA28-Jun-08 3:42 
GeneralRe: sql server using ODBC in a MFC application Pin
jiangbing28-Jun-08 16:10
jiangbing28-Jun-08 16:10 
AnswerRe: sql server using ODBC in a MFC application Pin
Mark Salsbery28-Jun-08 7:56
Mark Salsbery28-Jun-08 7:56 
AnswerRe: sql server using ODBC in a MFC application Pin
Hamid_RT30-Jun-08 18:47
Hamid_RT30-Jun-08 18:47 
QuestionHelp with getting a spawned process's return value Pin
XKonSoftware27-Jun-08 21:26
XKonSoftware27-Jun-08 21:26 
AnswerRe: Help with getting a spawned process's return value Pin
CPallini27-Jun-08 21:53
mveCPallini27-Jun-08 21:53 
GeneralRe: Help with getting a spawned process's return value Pin
MANISH RASTOGI27-Jun-08 22:54
MANISH RASTOGI27-Jun-08 22:54 
GeneralRe: Help with getting a spawned process's return value Pin
CPallini28-Jun-08 2:24
mveCPallini28-Jun-08 2:24 
GeneralRe: Help with getting a spawned process's return value Pin
MANISH RASTOGI28-Jun-08 2:35
MANISH RASTOGI28-Jun-08 2:35 

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.