ZaiRoN
June 6th, 2002, 19:03
hi!
maybe not a lot of people are interested to the vxd's thread so i would like to present a new (little) project for this area.
this time we have to add some functionality to a proggie. the proggie is a simple screen_capture (thx to manowar), nothing special but the program only serves for giving a reason to the steps to carry out
you can't minimize the proggie and so it's not really good see the dialog in the captured image.
after this preamble, here is the tasks!
1. in the "file" menu there's a menuitem called "Tray...".
when this item is clicked the proggie has to go in the system tray.
you can put the windows's icon or use your preferred icon; no problem, it's not the purpose of this level ;P.
2. once in the system tray, you have to give to the icon the possibility to respond to the mouse events. in particular:
left_double_click_mouse cause the restoring of the proggie and the removing of the icon from the system tray
right_click_mouse cause the opening of a popup menu with this item(s):
- "Exit" close the proggie removing the icon from the system tray
- "Capture" capture the screen
- "reversed by" put here what you want (your name or something else...). a simple messagebox would suffice!
you can use *all* tools of the world.
ok, that's all!
if i was not clear or if you have question on this project or something else, let me know!
bye
ZaiRoN
maybe not a lot of people are interested to the vxd's thread so i would like to present a new (little) project for this area.
this time we have to add some functionality to a proggie. the proggie is a simple screen_capture (thx to manowar), nothing special but the program only serves for giving a reason to the steps to carry out

you can't minimize the proggie and so it's not really good see the dialog in the captured image.
after this preamble, here is the tasks!
1. in the "file" menu there's a menuitem called "Tray...".
when this item is clicked the proggie has to go in the system tray.
you can put the windows's icon or use your preferred icon; no problem, it's not the purpose of this level ;P.
2. once in the system tray, you have to give to the icon the possibility to respond to the mouse events. in particular:
left_double_click_mouse cause the restoring of the proggie and the removing of the icon from the system tray
right_click_mouse cause the opening of a popup menu with this item(s):
- "Exit" close the proggie removing the icon from the system tray
- "Capture" capture the screen
- "reversed by" put here what you want (your name or something else...). a simple messagebox would suffice!
you can use *all* tools of the world.
ok, that's all!
if i was not clear or if you have question on this project or something else, let me know!
bye
ZaiRoN