Click here to Skip to main content
15,892,697 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem with variant Pin
dabs29-Nov-02 2:03
dabs29-Nov-02 2:03 
GeneralRe: problem with variant Pin
Chanda.com29-Nov-02 2:27
Chanda.com29-Nov-02 2:27 
GeneralRe: problem with variant Pin
dabs29-Nov-02 5:28
dabs29-Nov-02 5:28 
GeneralClick button on dialog box to open window. Pin
ooosawaddee328-Nov-02 23:18
ooosawaddee328-Nov-02 23:18 
GeneralRe: Click button on dialog box to open window. Pin
RicoH29-Nov-02 1:08
RicoH29-Nov-02 1:08 
GeneralEventViewer MMC Snap-in Pin
draman28-Nov-02 23:13
draman28-Nov-02 23:13 
GeneralAdding user-defined keywords Pin
RicoH28-Nov-02 22:32
RicoH28-Nov-02 22:32 
GeneralRe: Adding user-defined keywords Pin
Iain Clarke, Warrior Programmer28-Nov-02 22:52
Iain Clarke, Warrior Programmer28-Nov-02 22:52 
I just cut and pasted from a page in MSDN:
mk:@MSITStore:C:\Program%20Files\Microsoft%20Visual%20Studio\MSDN\2001OCT\1033\vcug.chm::/html/_asug_set_syntax_coloring.htm[^]

To set syntax coloring for user-defined keywords

In the same directory as msdev.exe, use the Text editor or Windows Notepad to create a text-only file named usertype.dat.


Add your keywords to usertype.dat, one keyword per line.
Note The usertype.dat file is read during initialization. It cannot be renamed, nor can it be reloaded during an editing session. The syntax coloring mechanism checks the usertype.dat file last. Thus, all previously defined color settings take precedence over the user-defined keywords.

Save the file as a text-only file, exit, and then restart Visual Studio.


From the Tools menu, choose Options.


Select the Format tab.


In the Colors box, select User Defined Keywords.


Set the font, font size, foreground color, and background color to your preferences.
For more information, see To change colors used in syntax coloring.

Click OK.

=====================================

I hope that helped,

Iain.
GeneralRe: Adding user-defined keywords Pin
RicoH29-Nov-02 0:58
RicoH29-Nov-02 0:58 
GeneralOwner draw controls and CDialogBars Pin
Mirko M.28-Nov-02 20:48
sussMirko M.28-Nov-02 20:48 
Questionwhat's the equivalent of LoadIcon for text file? Pin
devvvy28-Nov-02 18:51
devvvy28-Nov-02 18:51 
AnswerRe: what's the equivalent of LoadIcon for text file? Pin
berndg28-Nov-02 19:53
berndg28-Nov-02 19:53 
GeneralRe: what's the equivalent of LoadIcon for text file? Pin
devvvy29-Nov-02 17:16
devvvy29-Nov-02 17:16 
QuestionWhere can I find guides on VSS? Pin
George228-Nov-02 18:50
George228-Nov-02 18:50 
AnswerRe: Where can I find guides on VSS? Pin
Ravi Bhavnani29-Nov-02 12:10
professionalRavi Bhavnani29-Nov-02 12:10 
GeneralRe: Where can I find guides on VSS? Pin
George229-Nov-02 18:36
George229-Nov-02 18:36 
GeneralRe: Where can I find guides on VSS? Pin
Ravi Bhavnani30-Nov-02 4:39
professionalRavi Bhavnani30-Nov-02 4:39 
GeneralRe: Where can I find guides on VSS? Pin
George230-Nov-02 16:28
George230-Nov-02 16:28 
GeneralWinsock gethostbyaddr problem Pin
Shamoon28-Nov-02 18:26
Shamoon28-Nov-02 18:26 
GeneralRe: Winsock gethostbyaddr problem Pin
Rickard Andersson2029-Nov-02 3:09
Rickard Andersson2029-Nov-02 3:09 
GeneralNeed help in removing element in std::map ! Pin
bahruddina28-Nov-02 15:20
bahruddina28-Nov-02 15:20 
GeneralRe: Need help in removing element in std::map ! Pin
Scott H. Settlemier28-Nov-02 16:27
Scott H. Settlemier28-Nov-02 16:27 
GeneralUnresolved symbol CLSID_SQLOLEDB Pin
paulb28-Nov-02 14:41
paulb28-Nov-02 14:41 
GeneralChanging a view in an SDI. Pin
VanHlebar28-Nov-02 14:32
VanHlebar28-Nov-02 14:32 
GeneralRe: Changing a view in an SDI. Pin
Anatari28-Nov-02 15:15
Anatari28-Nov-02 15:15 

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.