you cannot "hide" the icon, as it is attached to the eventhandler for the
window-menu (do a rightclick on it or press Alt-Space for a TopWindow and
Ctrl-Space for ChildWindows). This eventhandler is officially called the
"Controlbox", which you can switch off with the similar named property of a
form. But then also all related funtionality is gone (no movement, no zoom,
minimize etc). BTW: The Min/Max/Close icons on the right of the window
titlebar are only additional shortcuts to the window-controlbox, therefor
those will also not work if you remove the controlbox.
If you need the functionality, but don't want to see an icon, you could
maybe fake it with some sort of "empty" icon ?
If you want to create some sort of "splashscreen", there's also a Titlebar
property, which removes the whole top area of a form.
--
wOOdy
Visual FoxPro Evangelist
Microsoft "Most Valuable Professional" 1996 to 2009
"*��)
�.���.�*��) �.�*�)
(�.��. (�.�` *
..�`.Visual FoxPro: It's magic !
(�.�``��*
I tried the sort of "empty" icon.
But, VFP accepts ony minimum icon dimension 16x16.
It seems no icon. Caption is away from the left most side of the title
bar because of empty icon.
This is not what I want.
I tried the icon dimension 1x1, but VFP failed to accept it.
The only way is to hide the whole title bar and make custom title bar.
Isn't it ?
With regards,
Sithu
> But, VFP accepts ony minimum icon dimension 16x16.
Ofcourse. Icons are predefined and have to have special sizes, yoou can't
just make your own sizes. Normally the minimum size is 16x16, and starting
with Win95, additional bigger images can optionally get added to the same
icon file.
Thus for starters you could create an *.ico file with 16x16, which is just
filled with the color of your titlebar.
>> Thank you, Wondzinski.
{giggle} please call me "woody" or "J�rgen"; the "Wondzinski" is the
Lastname