15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Status Bar resizing

Praful Shenoy -- ppraf@hotmail.com
Thursday, January 16, 1997

Environment: WinNT 4.0, MSVC++ 4.0.
I am unable to increase the size of status bar. I want to increase the height
of
 status bar . GetWindowRect() for a status bar does not give correct values.
In the OnCreate() of my class derived frrom CStatusBar, I tried calling
GetWindo
wRect() and MoveWindow(). But it does not work.
In the Precreatewindow() of my status bar, I tried changing the data members of
CreateStruct structure. But still I could not increase the height of my status
b
ar.
Is there any way of changing the height of status bar??
                                                                               

---------------------------------------------------------
Get Your *Web-Based* Free Email at http://www.hotmail.com
---------------------------------------------------------



Roger Onslow/Newcastle/Computer Systems Australia/
Saturday, January 18, 1997

>I am unable to increase the size of status bar. I want to increase the
>height of status bar.
[snip]
>Is there any way of changing the height of status bar??  

To change the height of a status bar, change the size of the font (send it a 
set font message)

If you have a look on MSDN, there is an article and sample which displays a 
little open-GL 3D icon in the bar, and the author had to increase the height of 
the status bar to fit the icon in nicely - I think it's called easyblt or 
something similar (there is a series of articles on OpenGL and it is in one of 
them)

hope this helps

============================================================
   Roger Onslow
 Software Development Manager - Quisine Division
  Computer Systems Australia
------------------------------------------------------------
Ph:   +61 49 675266
Fax:   +61 49 675554
Personal  mailto:Roger_Onslow@compsys.com.au
Quisine info mailto:Quisine@compsys.com.au
Visit us at  http://www.compsys.com.au/Quisine.html
============================================================
  Quisine - Designing for the Future
============================================================




| Вернуться в корень Архива |