Titlebar height and font

This forum is for eXpress++ general support.
Post Reply
Message
Author
skiman
Posts: 1183
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Titlebar height and font

#1 Post by skiman »

Hi,

I was wondering if it is possible to change the height of the titlebar of a dialog, and to change the font of the title.

I thought first to draw my own titelbar on a dialog where notitlebar is set, but at that moment I realised that the dialog can't be moved at that moment.

Any suggestions are welcome.
Best regards,

Chris.
www.aboservice.be

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Titlebar height and font

#2 Post by Wolfgang Ciriack »

Perhaps you can use the example movewin from Roger for your dialog without titlebar.
_______________________
Best Regards
Wolfgang

skiman
Posts: 1183
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Titlebar height and font

#3 Post by skiman »

Yes, that is what is was looking for.
Best regards,

Chris.
www.aboservice.be

User avatar
Auge_Ohr
Posts: 1405
Joined: Wed Feb 24, 2010 3:44 pm

Re: Titlebar height and font

#4 Post by Auge_Ohr »

Wolfgang Ciriack wrote:Perhaps you can use the example movewin from Roger for your dialog without titlebar.
can you please point me where i find example movewin ?
greetings by OHR
Jimmy

reganc
Posts: 257
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: Titlebar height and font

#5 Post by reganc »

Auge_Ohr wrote:
Wolfgang Ciriack wrote:Perhaps you can use the example movewin from Roger for your dialog without titlebar.
can you please point me where i find example movewin ?
I believe they are talking about the Move Window example in Sample Group 6 of Xdemo.
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

Wolfgang Ciriack
Posts: 478
Joined: Wed Jan 27, 2010 10:25 pm
Location: Berlin Germany

Re: Titlebar height and font

#6 Post by Wolfgang Ciriack »

Thats right, or express\Samples\Movewin.
_______________________
Best Regards
Wolfgang

c-tec
Posts: 379
Joined: Tue Apr 20, 2010 1:36 am
Location: SALZBURG/AUSTRIA
Contact:

Re: Titlebar height and font

#7 Post by c-tec »

Hello,
simply use dc_moveparentwindow() on the main static.
regards
Rudolf

@ 0,0 DCSTATIC SIZE nWidth,nHeight PIXEL COLOR setgetschema("SUB"),setgetschema("SUB") EVAL {|o|o:lbDown := {|a,b,c|DC_MoveParentWindow(a,b,c)}} OBJECT oStatic
Rudolf Reinthaler
digital pen & paper systems
http://www.formcommander.net

Post Reply