Click here to Skip to main content
15,916,452 members
Home / Discussions / C#
   

C#

 
GeneralRe: logg/scan open windows - important question! Pin
pat27088129-Jul-04 3:04
pat27088129-Jul-04 3:04 
GeneralRe: logg/scan open windows - important question! Pin
Heath Stewart29-Jul-04 4:30
protectorHeath Stewart29-Jul-04 4:30 
I was a little confused by your question before. No, SetWindowsHookEx is not supported on Windows Mobile, though it would be in Windows XP Embedded (but that isn't what PocketPC's run on).

EnumWindows is supported, however. Just use a Timer class (there's three in the .NET BCL to choose from, but check to make sure which ones are supported in the .NET CF) and poll for Windows. If you need to know which windows are new, keep track of existing windows in a list (like ArrayList) or dictionary (like Hashtable) and compare with the new list you'll obtain.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: logg/scan open windows - important question! Pin
pat27088129-Jul-04 4:49
pat27088129-Jul-04 4:49 
GeneralRe: logg/scan open windows - important question! Pin
Heath Stewart29-Jul-04 5:46
protectorHeath Stewart29-Jul-04 5:46 
GeneralRe: logg/scan open windows - important question! Pin
pat27088129-Jul-04 6:46
pat27088129-Jul-04 6:46 
GeneralRe: logg/scan open windows - important question! Pin
Heath Stewart29-Jul-04 6:49
protectorHeath Stewart29-Jul-04 6:49 
GeneralRe: logg/scan open windows - important question! Pin
pat27088129-Jul-04 7:45
pat27088129-Jul-04 7:45 
GeneralRe: logg/scan open windows - important question! Pin
Heath Stewart29-Jul-04 9:09
protectorHeath Stewart29-Jul-04 9:09 
GeneralRe: logg/scan open windows - important question! Pin
pat27088129-Jul-04 10:27
pat27088129-Jul-04 10:27 
GeneralRe: logg/scan open windows - important question! Pin
Heath Stewart29-Jul-04 10:48
protectorHeath Stewart29-Jul-04 10:48 
GeneralRe: logg/scan open windows - important question! Pin
pat27088130-Jul-04 0:39
pat27088130-Jul-04 0:39 
GeneralRe: logg/scan open windows - important question! Pin
Heath Stewart30-Jul-04 3:43
protectorHeath Stewart30-Jul-04 3:43 
GeneralRe: logg/scan open windows - important question! Pin
pat27088130-Jul-04 4:58
pat27088130-Jul-04 4:58 
GeneralRe: logg/scan open windows - important question! Pin
Heath Stewart30-Jul-04 5:33
protectorHeath Stewart30-Jul-04 5:33 
GeneralRe: logg/scan open windows - important question! Pin
pat27088130-Jul-04 6:21
pat27088130-Jul-04 6:21 
GeneralRe: logg/scan open windows - important question! Pin
Heath Stewart30-Jul-04 7:30
protectorHeath Stewart30-Jul-04 7:30 
GeneralRe: logg/scan open windows - important question! Pin
pat27088130-Jul-04 7:47
pat27088130-Jul-04 7:47 
GeneralRe: logg/scan open windows - important question! Pin
Heath Stewart30-Jul-04 8:04
protectorHeath Stewart30-Jul-04 8:04 
GeneralRe: logg/scan open windows - important question! Pin
pat27088130-Jul-04 9:17
pat27088130-Jul-04 9:17 
GeneralRe: logg/scan open windows - important question! Pin
Heath Stewart30-Jul-04 9:29
protectorHeath Stewart30-Jul-04 9:29 
GeneralRe: logg/scan open windows - important question! Pin
pat27088130-Jul-04 9:52
pat27088130-Jul-04 9:52 
GeneralRe: logg/scan open windows - important question! Pin
pat2708812-Aug-04 4:28
pat2708812-Aug-04 4:28 
GeneralError while deploying with the emulator Pin
mathon16-Aug-04 7:53
mathon16-Aug-04 7:53 
GeneralRe: logg/scan open windows - important question! Pin
pat27088129-Jul-04 5:43
pat27088129-Jul-04 5:43 
GeneralRe: logg/scan open windows - important question! Pin
Heath Stewart29-Jul-04 6:21
protectorHeath Stewart29-Jul-04 6:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.