Groups | Blog | Home
all groups > dotnet general > december 2004 >

dotnet general : Title bar icon


mailme.faisal NO[at]SPAM gmail.com
12/8/2004 9:02:04 PM

I want to remove title bar icon of a window.
The window should be resizable & it should have close (cross) button at
upper right corner.
I m using VB 6.
Any Help. Thanks in advance. & HOPE FOR FEEDBACK
Ben Solomon
12/9/2004 1:43:07 PM
Try this first in the Form Load:

Form1.Icon = LoadPicture()

Then I'd create an icon that matches the background and do this (just
make it real small or whitish - as long as it's recognized as a picture
resource by the API you're ok)

Form1.Icon = LoadPicture("c:\myblankIcon.bmp")


[quoted text, click to view]
AddThis Social Bookmark Button