|
|
Comments and Discussions
|
|
 |

|
When I click on tray icon and menu shows if i click outside of menu it does not close! How to close it? It Closes only if I click an item in menu
|
|
|
|

|
call SetForegroundWindow() in the function which handles the tray popup menu (OnContextMenu)
- Naren
|
|
|
|

|
It would be nice if u add sample working codes for each topic as it is seen in many articles.
anyway it is a nice article, congrats.!
|
|
|
|

|
nice article!
can u please write a similar article for win32 instead of MFC?
it would be really great!
chill-
|
|
|
|

|
Hi i like your tutorial i made the dll Binary File but i Dont Understand How to creat the Loader Can you Explain it More Easily For Dumbas Newbie like me?
|
|
|
|

|
For a long time I was looking for something like this. It's a very good starting point for the concepts. U get my 5
It's better to know some of the questions than all of the answers.
Pravin.
|
|
|
|
|

|
Good start, but quote from MSDN:
MSDN:
TerminateThread is a dangerous function. Use it only in the most extreme cases.
I think it's better to send the thread a nice WM_QUIT message.
But it's just my opinion...
Waiting for your next article!
Geert
Want to spread the newest version of your software automatically? Use Updater!
Visit my website: http://geert.yoki.org
|
|
|
|

|
Thanks Geert...
But as an initiative article i think this is enough. I have planned to prepare detailed articles on individual topics, at that time, i will give +ves and -ves of each thing.
Even you can note in the above code for dll, GetProcessAddress returns a function address, but not checked whether it is a valid address or not.
I remind, this is an initiative article.
Anyhow, thanks for your suggestion.
with regards
Nareen Neelamegam
|
|
|
|

|
Geert van Horrik wrote:
I think it's better to send the thread a nice WM_QUIT message.
Little Correction, there us no message Loop in Worker Thread, so it willnot listen the WM_QUIT message!
It's Possible with UI Thread Only!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|

|
Done a good job. Got my 5
Keep it up
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
Learn about simple DLLs, multithreading and some more stuff.....
| Type | Article |
| Licence | |
| First Posted | 25 May 2005 |
| Views | 48,968 |
| Bookmarked | 50 times |
|
|