www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - [GUI] GUI Color/Button Text

reply cody.maden gmail.com writes:
I've looked and I can't figure out how to get my GUIs to use the standard gray
window color.

Also, how to I change the font style used for the buttons?
Mar 21 2006
next sibling parent "Chris Miller" <chris dprogramming.com> writes:
On Tue, 21 Mar 2006 14:04:09 -0500, <cody.maden gmail.com> wrote:

 I've looked and I can't figure out how to get my GUIs to use the  
 standard gray
 window color.
I'll assume you're talking about Windows as I've experienced something similar. For optlink (DMD & DMC's linker), the default Windows version for exe`s is for 16 bit Windows, which does things a bit differently, so specify -L/exet:nt/su:windows:4.0 to DMD command line to set it to 32 bit Windows.
 Also, how to I change the font style used for the buttons?
WM_SETFONT.
Mar 21 2006
prev sibling parent Stewart Gordon <smjg_1998 yahoo.com> writes:
cody.maden gmail.com wrote:
 I've looked and I can't figure out how to get my GUIs to use the standard gray
 window color.
<snip> Your question is a bit too vague. What OS are you using? Are you using the OS API directly? But if you're using Windows and I'm correctly guessing what you mean, here's a hint: include DS_3DLOOK in the dialog's style. Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- C++ a->--- UB P+ L E W++ N+++ o K- w++ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Mar 22 2006