Click here to Skip to main content
16,005,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWIndows Controls Pin
Ross White21-Jun-05 5:15
Ross White21-Jun-05 5:15 
GeneralRe: WIndows Controls Pin
Blake Miller21-Jun-05 5:43
Blake Miller21-Jun-05 5:43 
GeneralRe: WIndows Controls Pin
James Brown21-Jun-05 7:30
James Brown21-Jun-05 7:30 
GeneralRe: WIndows Controls Pin
Andy Moore21-Jun-05 7:35
Andy Moore21-Jun-05 7:35 
GeneralRe: WIndows Controls Pin
Ross White21-Jun-05 8:08
Ross White21-Jun-05 8:08 
Generaldynamic check box creation Pin
softtec21-Jun-05 4:33
softtec21-Jun-05 4:33 
GeneralRe: dynamic check box creation Pin
Blake Miller21-Jun-05 6:05
Blake Miller21-Jun-05 6:05 
GeneralUltimate Grid 6.1 (tab font) Pin
smbelow21-Jun-05 4:32
smbelow21-Jun-05 4:32 
I am trying to set a different font inside a grid tab. The following code is a snippet of what I’m doing. When I run the application it crashes! Has anyone used the function call SetTabFont? And if so can you share some insight on how to properly use this thing. The commented code is what I’m inputting to try and get my desired response.

Thanks for any help, Steve…

void CProcessGrid::OnSetup()
{
CUGCell cell;
CUGTab mTab;

SetNumberSheets(3);

AddTab("Procedure", 0);
AddTab("Parts", 1);
AddTab("Tools", 2);

SetTabWidth(500);

SetCurrentTab (0);

//************ Change Font Size **********[SMB 06/20/05]
//
//CFont *mFont;
//int fontIndex;
//fontIndex = AddFont("Arial", 8, 2);
//mFont = GetFont(fontIndex);
//mTab.SetTabFont(mFont);
//
//*****************************************************

GeneralRe: Ultimate Grid 6.1 (tab font) Pin
lynchspawn21-Jun-05 4:41
lynchspawn21-Jun-05 4:41 
GeneralDLL question ( clueless ) Pin
Maximilien21-Jun-05 4:05
Maximilien21-Jun-05 4:05 
GeneralRe: DLL question ( clueless ) Pin
LCI21-Jun-05 4:15
LCI21-Jun-05 4:15 
GeneralRe: DLL question ( clueless ) Pin
Tom Archer21-Jun-05 4:15
Tom Archer21-Jun-05 4:15 
GeneralRe: DLL question ( clueless ) Pin
Antony M Kancidrowski21-Jun-05 4:24
Antony M Kancidrowski21-Jun-05 4:24 
GeneralRe: DLL question ( clueless ) probably self-answered Pin
Maximilien21-Jun-05 4:30
Maximilien21-Jun-05 4:30 
GeneralRe: DLL question ( clueless ) probably self-answered Pin
Antony M Kancidrowski21-Jun-05 4:44
Antony M Kancidrowski21-Jun-05 4:44 
QuestionSDI w/ splitter - SetActiveView()??? Pin
lynchspawn21-Jun-05 4:04
lynchspawn21-Jun-05 4:04 
GeneralReading a node value from XML file Pin
LCI21-Jun-05 3:40
LCI21-Jun-05 3:40 
GeneralRe: Reading a node value from XML file Pin
Tom Archer21-Jun-05 4:24
Tom Archer21-Jun-05 4:24 
GeneralRe: Reading a node value from XML file Pin
Tom Archer21-Jun-05 4:27
Tom Archer21-Jun-05 4:27 
GeneralRe: Reading a node value from XML file Pin
LCI21-Jun-05 5:03
LCI21-Jun-05 5:03 
Generalusing ifstream to read a file. Pin
Hachaso21-Jun-05 2:12
Hachaso21-Jun-05 2:12 
GeneralRe: using ifstream to read a file. Pin
xiaohe52121-Jun-05 3:17
xiaohe52121-Jun-05 3:17 
GeneralRe: using ifstream to read a file. Pin
Hachaso21-Jun-05 3:32
Hachaso21-Jun-05 3:32 
GeneralRe: using ifstream to read a file. Pin
S. Senthil Kumar21-Jun-05 3:34
S. Senthil Kumar21-Jun-05 3:34 
GeneralSave & Open Pin
suroor45321-Jun-05 1:52
suroor45321-Jun-05 1:52 

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.