Click here to Skip to main content
15,915,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Are there any differences between US and UK distributions of VC++ Pro 6 ? Pin
Ravi Bhavnani9-Jan-05 5:05
professionalRavi Bhavnani9-Jan-05 5:05 
GeneralRe: Are there any differences between US and UK distributions of VC++ Pro 6 ? Pin
Defenestration9-Jan-05 5:54
Defenestration9-Jan-05 5:54 
GeneralRe: Are there any differences between US and UK distributions of VC++ Pro 6 ? Pin
PJ Arends9-Jan-05 9:10
professionalPJ Arends9-Jan-05 9:10 
GeneralRe: Are there any differences between US and UK distributions of VC++ Pro 6 ? Pin
Defenestration9-Jan-05 10:23
Defenestration9-Jan-05 10:23 
GeneralRe: Are there any differences between US and UK distributions of VC++ Pro 6 ? Pin
Ryan Binns9-Jan-05 17:29
Ryan Binns9-Jan-05 17:29 
GeneralRe: Are there any differences between US and UK distributions of VC++ Pro 6 ? Pin
Defenestration9-Jan-05 21:24
Defenestration9-Jan-05 21:24 
GeneralFont/Style/Appearence of manually created dialog controls Pin
SytS8-Jan-05 19:36
SytS8-Jan-05 19:36 
GeneralRe: Font/Style/Appearence of manually created dialog controls Pin
Gary R. Wheeler9-Jan-05 3:06
Gary R. Wheeler9-Jan-05 3:06 
SytS wrote:
the font of the button text is different from the text font of a button created through VS's dialog editor

If you create a font using the dialog editor, the dialog editor implicitly sets the font for the dialog, usually to something like 'MS Shell Dlg'. Windows or controls you create 'manually' by calling their Create(...) function by default are set to the system font, which is larger and bolder in appearance (depending upon the OS and its version).

You can set the font for the windows you create manually to the default user interface font by calling the control's SetFont(::GetStockObject(DEFAULT_GUI_FONT))[^] function.

SytS wrote:
Other controls show various differences in appearence as well (a manually created Edit Control would not have that "sunken" appearence, for instance).

This problem has a slightly different source. The 'sunken' appearance is created by a window having the WS_SUNKEN style. You need to make sure that the style flags you specify in your Create(...) call include the options you want. Note that there are extended style flags that you can specify using the CreateEx(...) function that give you more options.


Software Zen: delete this;
GeneralRe: Font/Style/Appearence of manually created dialog controls Pin
SytS9-Jan-05 5:58
SytS9-Jan-05 5:58 
GeneralRe: Font/Style/Appearence of manually created dialog controls Pin
Gary R. Wheeler9-Jan-05 14:45
Gary R. Wheeler9-Jan-05 14:45 
QuestionOnIdle? Pin
dSolariuM8-Jan-05 19:04
dSolariuM8-Jan-05 19:04 
Generalneed a web-site counter or tracker Pin
includeh108-Jan-05 18:37
includeh108-Jan-05 18:37 
GeneralRe: need a web-site counter or tracker Pin
ThatsAlok9-Jan-05 1:21
ThatsAlok9-Jan-05 1:21 
QuestionHow to detect what URL clicked user ? Pin
vgrigor18-Jan-05 11:39
vgrigor18-Jan-05 11:39 
AnswerRe: How to detect what URL clicked user ? Pin
Michael Dunn9-Jan-05 3:49
sitebuilderMichael Dunn9-Jan-05 3:49 
GeneralRe: How to detect what URL clicked user ? Pin
vgrigor19-Jan-05 4:32
vgrigor19-Jan-05 4:32 
AnswerRe: How to detect what URL clicked user ? Pin
Antti Keskinen9-Jan-05 3:59
Antti Keskinen9-Jan-05 3:59 
GeneralRe: How to detect what URL clicked user ? Pin
vgrigor19-Jan-05 4:35
vgrigor19-Jan-05 4:35 
QuestionHow can I get a thread suspended-status? Pin
Robert Buldoc8-Jan-05 9:29
Robert Buldoc8-Jan-05 9:29 
AnswerRe: How can I get a thread suspended-status? Pin
cmk8-Jan-05 9:41
cmk8-Jan-05 9:41 
GeneralRe: How can I get a thread suspended-status? Pin
Robert Buldoc8-Jan-05 9:42
Robert Buldoc8-Jan-05 9:42 
GeneralRe: How can I get a thread suspended-status? Pin
cmk8-Jan-05 9:46
cmk8-Jan-05 9:46 
GeneralRe: How can I get a thread suspended-status? Pin
Robert Buldoc8-Jan-05 9:49
Robert Buldoc8-Jan-05 9:49 
GeneralProblem writing MHT files Pin
Kevin Tambascio8-Jan-05 6:39
Kevin Tambascio8-Jan-05 6:39 
GeneralGame Interface Pin
philadelphia7-Jan-05 21:36
philadelphia7-Jan-05 21:36 

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.