Link to home
Start Free TrialLog in
Avatar of tearsoftragedy
tearsoftragedy

asked on

Taskbar Buttons

Avatar of Drareg
Drareg

no comment ;-)
no answer :o)
Voila - I have a _real_ comment :).  See this question with hints to avoid the "no text" bug: https://www.experts-exchange.com/jsp/qShow.jsp?ta=commspt&qid=20157348

GL
Mike
Set visible to true?

 :-)
Avatar of Lukasz Zielinski
no text + no coment = no problem !!
no text + no coment = no problem !!
Avatar of tearsoftragedy

ASKER

God, here it is the question again

I have my Main form and a 2nd form which is not auto-created, i create more than 1 of that form at run-time, but i would like to show the taskbar button for every new form, just like office 2000 does it... how can I do it?

ShowWindow doesn't work

thanks
Add ShellAPI to your units and try this function:

Shell_NotifyIcon(NIM_ADD, pnid);
gemarti:

  Thanks for answering... but that code is to add an Icon to the Tray area, and i need a button... office 2000 creates a new taskbar button everytime you open a document, i would like that...

  Thanks!

hmmm...your right. I misunderstood your question. However...I run office 2000 and when I create a new document it stays within the region of the application if I minimize. I don't see any buttons.

If I start a second "instance" of an application (say Excell) then I see two buttons on the taskbar for Excel. Do you want multiple "instances" of your application running?

Maybe clarification of your question will get you quicker results from the rest of the experts.
ASKER CERTIFIED SOLUTION
Avatar of geobul
geobul

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Geo:

  Thank you very much...!!!!!!!!

 
You are welcome :-)