[EMAIL PROTECTED] wrote:
Any way to trap control key and function key entries without a dialog window? 
I'd like to be able to associate functions to keys so that someone can invoke a 
function by pressing a key, primariliy for debugging. I don't want a submenu.

You should investigate Win32::GUI::AcceleratorTable class or look at using the Win32::GUI::Hook() function to catch WM_KEYDOWN

Any way of detecting when a window needs to be invalidated?

Not sure I understand you. The system automatically invalidates parts of the client window that need redrawing, or your program can invalidate parts that it knows need redrawing. Invalidated regions are re-drawn the next time the window processes a WM_PAINT message - but all this happens in the background. If you can provide a better idea of what you are trying to do (and what doesn't work for you) then we may be able to point you in the right direction.

Regards,
Rob.

Reply via email to