Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Nidal
  • Order by date
  1. Nidal

    Converting "Intptr" to a "HWND" handle

    Thank you xwb and PerFnurt for you help. I am able to cast From Intrptr to HWND and communicate to the Window of the Form. Regards, - Nidal
  2. Nidal

    Converting "Intptr" to a "HWND" handle

    Thanks xwb. I checked on the threadIDs and found that the thread that starts a form is different from the main thread. Again, even if I pass the threadID of the new thread back to the main thread to save it in a list somewhere, if I pass a message to that thread, that thread will not be able...
  3. Nidal

    Converting "Intptr" to a "HWND" handle

    Thank you xwb for your suggestion. Your suggestion, I guess, boils down to using LocalDataStoreSlots (I assume that LocalDataStore is the same as "Thread Message Queue"). I create a named LocalDataStoreSlot for each thread and communicate with each thread by writing messages to these...
  4. Nidal

    Converting "Intptr" to a "HWND" handle

    Hello. I build an application using Windows Forms. I spawn a thread that starts a Window Form. I am in a point where I need to send messages to these Windows. When I try to get a handle to the Form's Window (Form->Handle) I get a value of type "Intptr". On the other hand, the methods for...

Part and Inventory Search

Back
Top