wxappbar.winmsgproc
index
c:\bin\lang\py23\lib\site-packages\wxappbar\winmsgproc.py

Windows Message Processing Callbacks

 
Modules
       
sys
traceback
ctypes.wintypes

 
Classes
       
MessageCallback

 
class MessageCallback
    Class to provide message-based callback
 
Note: you _must_ retain a reference to this object
as long as you want to continue servicing messages,
the object will de-register it's callback during
it's delete method.
 
  Methods defined here:
__del__(self)
Hook deletion to unbind the window message processor
__init__(self, hWnd, messageMap=None)
Initialize the callback structures and bind
 
hWnd -- the handle to the hWnd to be serviced
messageMap -- mapping from messageID:function
        where each function should have the
        signature ( hWnd, messageInteger, wParam, lParam )
bind(self)
Bind the message-processing callback
messageHandler(self, hWnd, messageInteger, wParam, lParam)
Handler for windows message to the appbar
unbind(self)
Unbind the message-processing callback

Data and other attributes defined here:
previousHandler = None

 
Functions
       
FormatError(...)
FormatError([integer]) -> string
 
Convert a win32 error code into a string. If the error code is not
given, the return value of a call to GetLastError() is used.
addressof(...)
byref(...)
sizeof(...)

 
Data
        CallWindowProc = <ctypes._StdcallFuncPtr object at 0x015D39D0>
GWL_WNDPROC = -4
GetLastError = <ctypes._StdcallFuncPtr object at 0x015D3298>
PostMessage = <ctypes._StdcallFuncPtr object at 0x015D3A28>
SendMessage = <ctypes._StdcallFuncPtr object at 0x015D3A80>
SetWindowLong = <ctypes._StdcallFuncPtr object at 0x015D3920>
cdll = <ctypes._DLLS instance at 0x0160BAA8>
oledll = <ctypes._DLLS instance at 0x0160BAF8>
user32 = <WinDLL 'user32', handle 77e10000 at 15d6d28>
windll = <ctypes._DLLS instance at 0x0160BAD0>