I know it should be stupid but where can I find the classics icons (like
New, cut paste, ...) to put on buttons I have created on a toolbar ?
Also be aware that as of BCB4 the 'Images' folder is in the folder 'BorlandQuote:> Manu,
> Images for use on Buttons are located in Images/Buttons directory of
> the Builder directory.
Manu ha scritto:
Quote:> Hi all,
> I know it should be stupid but where can I find the classics icons (like
> New, cut paste, ...) to put on buttons I have created on a toolbar ?
> Thanks, Manu.
I have written a program in VB6 which allows the user to drag a file
on to a frame and then makes visible a previously loaded command
button so that pressing the button fires up the file.
I use ExtractIcon, GetDC and DrawIcon to paint the icon from the
dragged file (only playing with executables at the moment) on the
button, whose style is set to graphical.
The problem I have is that the drawing of the Icon is not persistent
and I have to drag the form about to force it to repaint when
sometimes it repaints the icon and sometimes it doesn't. (I use the
DrawIcon function in the Form_Paint routine but it seems that having
drawn the icon the form continues to paint my buttons grey again).
Has anybody any ideas on this, there isn't an AutoRedraw option for
command buttons as far as I can see.
Jeff Gaines Damerham Hampshire UK