biroadam
asked on
Hiding laskbar button
How can I hide/remove my application’s button from the tasbar (without hiding the application’s windows, of course)? (My application has an icon in the Notification Area, and it’s enough, I don’t need a button).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry JimBob, I did not notice,
please reject this biroadam, JimBob is first...
bye, igor
please reject this biroadam, JimBob is first...
bye, igor
Hi Igor, not a problem. These things happen.
Cheers,
JB
Cheers,
JB
ASKER
inter,
Thank you, it was really simple.
ps. Don’t you know how can I display buttons on the taskbar for windows which were created dinamically by my application? For example, if my application will create N windows, on the taskbar must appear N buttons (the application’s main form must NOT have a button on the taskbar).
Thank you, it was really simple.
ps. Don’t you know how can I display buttons on the taskbar for windows which were created dinamically by my application? For example, if my application will create N windows, on the taskbar must appear N buttons (the application’s main form must NOT have a button on the taskbar).
ASKER
Sorry, JimBob, inter,
I didn’t realize that I should reject this answer (anyway, I don’t no if I really should).
Adam
I didn’t realize that I should reject this answer (anyway, I don’t no if I really should).
Adam
Hi,-thanks-
do it as follows(multi button on task bar) for each form(preferably in oncreate or on a prober way before showing)
SetWindowLong(Form1.Handle , GWL_EXSTYLE, WS_EX_APPWINDOW);
regards, igor
do it as follows(multi button on task bar) for each form(preferably in oncreate or on a prober way before showing)
SetWindowLong(Form1.Handle
regards, igor
ASKER
Igor,
Thank you again.
Regards,
Adam
Thank you again.
Regards,
Adam
(If you add this to your project file you might need to add Windows to your uses clause.)
JB