Click here to Skip to main content
15,917,968 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: starting and controlling an application Pin
Tom Wright10-Aug-05 8:33
Tom Wright10-Aug-05 8:33 
QuestionHow to get total height and width of the screen ? Pin
Amarelia10-Aug-05 2:56
Amarelia10-Aug-05 2:56 
AnswerRe: How to get total height and width of the screen ? Pin
David Crow10-Aug-05 3:42
David Crow10-Aug-05 3:42 
AnswerRe: How to get total height and width of the screen ? Pin
bugDanny10-Aug-05 6:33
bugDanny10-Aug-05 6:33 
AnswerRe: How to get total height and width of the screen ? Pin
Graham Bradshaw10-Aug-05 7:25
Graham Bradshaw10-Aug-05 7:25 
AnswerRe: How to get total height and width of the screen ? Pin
Ravi Bhavnani10-Aug-05 8:48
professionalRavi Bhavnani10-Aug-05 8:48 
AnswerRe: How to get total height and width of the screen ? Pin
ThatsAlok10-Aug-05 17:44
ThatsAlok10-Aug-05 17:44 
QuestionWhat is: FONT 8, "MS Sans Serif", 0, 0, 0x1 Pin
[d3m0n]10-Aug-05 2:53
[d3m0n]10-Aug-05 2:53 
I work in a project with 4 other people. We use Visual C++ DevStudio 6.0 and SourceSafe. I have a question about resource files.

If I edit a dialog in the resource editor, and check it in, MSDev changes the font line in the resource to say
FONT 8, "MS Sans Serif".
But if someone else changes it and checks it in, MSDev changes it to say
FONT 8, "MS Sans Serif", 0, 0, 0x1.

Does anyone know what this ", 0, 0, 0x1" thing is all about? Is it something I can turn off, because with a large number of dialogs in the same resource file, doing a diff is quite laborious.

Here is an example of a dialog, before and after:
<br />
IDD_OPTIONS_EDITOR DIALOGEX 0, 0, 307, 255<br />
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU<br />
EXSTYLE WS_EX_CONTEXTHELP | WS_EX_APPWINDOW<br />
CAPTION "Editor"<br />
FONT 8, "MS Sans Serif"<br />
BEGIN<br />
...<br />
<br />
IDD_OPTIONS_EDITOR DIALOGEX 0, 0, 307, 255<br />
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU<br />
EXSTYLE WS_EX_CONTEXTHELP | WS_EX_APPWINDOW<br />
CAPTION "Editor"<br />
FONT 8, "MS Sans Serif", 0, 0, 0x1<br />
BEGIN<br />
...<br />

Thanks
d3m0n
AnswerRe: What is: FONT 8, &quot;MS Sans Serif&quot;, 0, 0, 0x1 Pin
David Crow10-Aug-05 3:45
David Crow10-Aug-05 3:45 
GeneralRe: What is: FONT 8, &quot;MS Sans Serif&quot;, 0, 0, 0x1 Pin
[d3m0n]10-Aug-05 23:45
[d3m0n]10-Aug-05 23:45 
GeneralRe: What is: FONT 8, &quot;MS Sans Serif&quot;, 0, 0, 0x1 Pin
David Crow11-Aug-05 2:30
David Crow11-Aug-05 2:30 
GeneralLooking for a file Pin
Halawlaws10-Aug-05 2:53
Halawlaws10-Aug-05 2:53 
GeneralRe: Looking for a file Pin
BlackDice10-Aug-05 2:57
BlackDice10-Aug-05 2:57 
GeneralRe: Looking for a file Pin
Halawlaws10-Aug-05 3:40
Halawlaws10-Aug-05 3:40 
GeneralRe: Looking for a file Pin
Jose Lamas Rios10-Aug-05 3:06
Jose Lamas Rios10-Aug-05 3:06 
GeneralRe: Looking for a file Pin
Halawlaws10-Aug-05 3:40
Halawlaws10-Aug-05 3:40 
GeneralRe: Looking for a file Pin
Marc Soleda10-Aug-05 3:20
Marc Soleda10-Aug-05 3:20 
GeneralRe: Looking for a file Pin
Halawlaws10-Aug-05 3:38
Halawlaws10-Aug-05 3:38 
GeneralRe: Looking for a file Pin
Roland Pibinger10-Aug-05 6:17
Roland Pibinger10-Aug-05 6:17 
GeneralOne More My Fav :) Pin
ThatsAlok10-Aug-05 17:40
ThatsAlok10-Aug-05 17:40 
QuestionHow to show static control (label) at desired postion dynamically ? Pin
Amarelia10-Aug-05 2:48
Amarelia10-Aug-05 2:48 
AnswerRe: How to show static control (label) at desired postion dynamically ? Pin
David Crow10-Aug-05 3:46
David Crow10-Aug-05 3:46 
GeneralMFC: Modeless Child Dialog Minimize Behavior Pin
garkhov_major10-Aug-05 2:43
garkhov_major10-Aug-05 2:43 
GeneralAbout printing margin Pin
a_du10-Aug-05 2:11
a_du10-Aug-05 2:11 
GeneralAlogorithm for graphical time display in scheduling application Pin
Alexandar Kolaric10-Aug-05 2:08
Alexandar Kolaric10-Aug-05 2:08 

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.