Changeset 14379 for lang/cplusplus

Show
Ignore:
Timestamp:
06/22/08 00:31:36 (6 years ago)
Author:
saturday06
Message:

GPL汚染回避なるか!?

Location:
lang/cplusplus/i3
Files:
1 removed
7 modified

Legend:

Unmodified
Added
Removed
  • lang/cplusplus/i3/src/mol/include/mol/windows/DummyMessageHandler.h

    r14356 r14379  
    11 
    2  
    3 void OnActivate(bool& handled, HWND hwnd, UINT state, HWND hwndActDeact, BOOL fMinimized) 
    4 { 
    5  
    6 } 
    7  
    8 void OnActivateApp(bool& handled, HWND hwnd, BOOL fActivate, DWORD dwThreadId) 
    9 { 
    10  
    11 } 
    12  
    13 void OnCancelMode(bool& handled, HWND hwnd) 
    14 { 
    15  
    16 } 
    17  
    18 void OnChildActivate(bool& handled, HWND hwnd) 
    19 { 
    20  
    21 } 
    22  
    23 void OnClose(bool& handled, HWND hwnd) 
    24 { 
    25  
    26 } 
    27  
    28 void OnCommand(bool& handled, HWND hwnd, int id, HWND hwndCtl, UINT codeNotify) 
    29 { 
    30  
    31 } 
    32  
    33 void OnCommNotify(bool& handled, HWND hwnd, int cid, UINT flags) 
    34 { 
    35  
    36 } 
    37  
    38 void OnCompacting(bool& handled, HWND hwnd, UINT compactRatio) 
    39 { 
    40  
    41 } 
    42  
    43 int OnCompareItem(bool& handled, HWND hwnd, const COMPAREITEMSTRUCT * lpCompareItem) 
    44 { 
    45     return 0; 
    46 } 
    47  
    48 void OnContextMenu(bool& handled, HWND hwnd, HWND hwndContext, UINT xPos, UINT yPos) 
    49 { 
    50  
    51 } 
    52  
    53 BOOL OnCopyData(bool& handled, HWND hwnd, HWND hwndFrom, PCOPYDATASTRUCT pcds) 
    54 { 
    55     return 0; 
    56 } 
    57  
    58 BOOL OnCreate(bool& handled, HWND hwnd, LPCREATESTRUCT lpCreateStruct) 
    59 { 
    60     return 0; 
    61 } 
    62  
    63 HBRUSH OnCtlColorBtn(bool& handled, HWND hwnd, HDC hdc, HWND hwndChild, int type) 
    64 { 
    65     return 0; 
    66 } 
    67  
    68 HBRUSH OnCtlColorDlg(bool& handled, HWND hwnd, HDC hdc, HWND hwndChild, int type) 
    69 { 
    70     return 0; 
    71 } 
    72  
    73 HBRUSH OnCtlColorEdit(bool& handled, HWND hwnd, HDC hdc, HWND hwndChild, int type) 
    74 { 
    75     return 0; 
    76 } 
    77  
    78 HBRUSH OnCtlColorListbox(bool& handled, HWND hwnd, HDC hdc, HWND hwndChild, int type) 
    79 { 
    80     return 0; 
    81 } 
    82  
    83 HBRUSH OnCtlColorMsgbox(bool& handled, HWND hwnd, HDC hdc, HWND hwndChild, int type) 
    84 { 
    85     return 0; 
    86 } 
    87  
    88 HBRUSH OnCtlColorScrollbar(bool& handled, HWND hwnd, HDC hdc, HWND hwndChild, int type) 
    89 { 
    90     return 0; 
    91 } 
    92  
    93 HBRUSH OnCtlColorStatic(bool& handled, HWND hwnd, HDC hdc, HWND hwndChild, int type) 
    94 { 
    95     return 0; 
    96 } 
    97  
    98 void OnDeleteItem(bool& handled, HWND hwnd, const DELETEITEMSTRUCT * lpDeleteItem) 
    99 { 
    100  
    101 } 
    102  
    103 void OnDestroy(bool& handled, HWND hwnd) 
    104 { 
    105  
    106 } 
    107  
    108 BOOL OnDeviceChange(bool& handled, HWND hwnd, UINT uEvent, DWORD dwEventData) 
    109 { 
    110     return 0; 
    111 } 
    112  
    113 void OnDevModeChange(bool& handled, HWND hwnd, LPCTSTR lpszDeviceName) 
    114 { 
    115  
    116 } 
    117  
    118 void OnDisplayChange(bool& handled, HWND hwnd, UINT bitsPerPixel, UINT cxScreen, UINT cyScreen) 
    119 { 
    120  
    121 } 
    122  
    123 void OnDrawItem(bool& handled, HWND hwnd, const DRAWITEMSTRUCT * lpDrawItem) 
    124 { 
    125  
    126 } 
    127  
    128 void OnEnable(bool& handled, HWND hwnd, BOOL fEnable) 
    129 { 
    130  
    131 } 
    132  
    133 void OnEndSession(bool& handled, HWND hwnd, BOOL fEnding) 
    134 { 
    135  
    136 } 
    137  
    138 void OnEnterIdle(bool& handled, HWND hwnd, UINT source, HWND hwndSource) 
    139 { 
    140  
    141 } 
    142  
    143 BOOL OnEraseBkgnd(bool& handled, HWND hwnd, HDC hdc) 
    144 { 
    145     return 0; 
    146 } 
    147  
    148 void OnFontChange(bool& handled, HWND hwnd) 
    149 { 
    150  
    151 } 
    152  
    153 UINT OnGetDlgCode(bool& handled, HWND hwnd, LPMSG lpmsg) 
    154 { 
    155     return 0; 
    156 } 
    157  
    158 HFONT OnGetFont(bool& handled, HWND hwnd) 
    159 { 
    160     return 0; 
    161 } 
    162  
    163 void OnGetMinMaxInfo(bool& handled, HWND hwnd, LPMINMAXINFO lpMinMaxInfo) 
    164 { 
    165  
    166 } 
    167  
    168 INT OnGetText(bool& handled, HWND hwnd, int cchTextMax, LPTSTR lpszText) 
    169 { 
    170     return 0; 
    171 } 
    172  
    173 INT OnGetTextLength(bool& handled, HWND hwnd) 
    174 { 
    175     return 0; 
    176 } 
    177  
    178 void OnHScroll(bool& handled, HWND hwnd, HWND hwndCtl, UINT code, int pos) 
    179 { 
    180  
    181 } 
    182  
    183 BOOL OnIconEraseBkgnd(bool& handled, HWND hwnd, HDC hdc) 
    184 { 
    185     return 0; 
    186 } 
    187  
    188 BOOL OnInitDialog(bool& handled, HWND hwnd, HWND hwndFocus, LPARAM lParam) 
    189 { 
    190     return 0; 
    191 } 
    192  
    193 void OnInitMenu(bool& handled, HWND hwnd, HMENU hMenu) 
    194 { 
    195  
    196 } 
    197  
    198 void OnInitMenuPopup(bool& handled, HWND hwnd, HMENU hMenu, UINT item, BOOL fSystemMenu) 
    199 { 
    200  
    201 } 
    202  
    203 void OnKillFocus(bool& handled, HWND hwnd, HWND hwndNewFocus) 
    204 { 
    205  
    206 } 
    207  
    208 void OnMeasureItem(bool& handled, HWND hwnd, MEASUREITEMSTRUCT * lpMeasureItem) 
    209 { 
    210  
    211 } 
    212  
    213 DWORD OnMenuChar(bool& handled, HWND hwnd, UINT ch, UINT flags, HMENU hmenu) 
    214 { 
    215     return 0; 
    216 } 
    217  
    218 void OnMenuSelect(bool& handled, HWND hwnd, HMENU hmenu, int item, HMENU hmenuPopup, UINT flags) 
    219 { 
    220  
    221 } 
    222  
    223 void OnMove(bool& handled, HWND hwnd, int x, int y) 
    224 { 
    225  
    226 } 
    227  
    228 HWND OnNextDlgCtl(bool& handled, HWND hwnd, HWND hwndSetFocus, BOOL fNext) 
    229 { 
    230     return 0; 
    231 } 
    232  
    233 void OnPaint(bool& handled, HWND hwnd) 
    234 { 
    235  
    236 } 
    237  
    238 void OnPaletteChanged(bool& handled, HWND hwnd, HWND hwndPaletteChange) 
    239 { 
    240  
    241 } 
    242  
    243 void OnPaletteIsChanging(bool& handled, HWND hwnd, HWND hwndPaletteChange) 
    244 { 
    245  
    246 } 
    247  
    248 void OnPower(bool& handled, HWND hwnd, int code) 
    249 { 
    250  
    251 } 
    252  
    253 HICON OnQueryDragIcon(bool& handled, HWND hwnd) 
    254 { 
    255     return 0; 
    256 } 
    257  
    258 BOOL OnQueryEndSession(bool& handled, HWND hwnd) 
    259 { 
    260     return 0; 
    261 } 
    262  
    263 BOOL OnQueryNewPalette(bool& handled, HWND hwnd) 
    264 { 
    265     return 0; 
    266 } 
    267  
    268 BOOL OnQueryOpen(bool& handled, HWND hwnd) 
    269 { 
    270     return 0; 
    271 } 
    272  
    273 void OnQueueSync(bool& handled, HWND hwnd) 
    274 { 
    275  
    276 } 
    277  
    278 void OnQuit(bool& handled, HWND hwnd, int exitCode) 
    279 { 
    280  
    281 } 
    282  
    283 void OnSetFocus(bool& handled, HWND hwnd, HWND hwndOldFocus) 
    284 { 
    285  
    286 } 
    287  
    288 void OnSetFont(bool& handled, HWND hwndCtl, HFONT hfont, BOOL fRedraw) 
    289 { 
    290  
    291 } 
    292  
    293 void OnSetRedraw(bool& handled, HWND hwnd, BOOL fRedraw) 
    294 { 
    295  
    296 } 
    297  
    298 void OnSetText(bool& handled, HWND hwnd, LPCTSTR lpszText) 
    299 { 
    300  
    301 } 
    302  
    303 void OnShowWindow(bool& handled, HWND hwnd, BOOL fShow, UINT status) 
    304 { 
    305  
    306 } 
    307  
    308 void OnSize(bool& handled, HWND hwnd, UINT state, int cx, int cy) 
    309 { 
    310  
    311 } 
    312  
    313 void OnSpoolerStatus(bool& handled, HWND hwnd, UINT status, int cJobInQueue) 
    314 { 
    315  
    316 } 
    317  
    318 void OnSysColorChange(bool& handled, HWND hwnd) 
    319 { 
    320  
    321 } 
    322  
    323 void OnSysCommand(bool& handled, HWND hwnd, UINT cmd, int x, int y) 
    324 { 
    325  
    326 } 
    327  
    328 void OnSystemError(bool& handled, HWND hwnd, int errCode) 
    329 { 
    330  
    331 } 
    332  
    333 void OnTimeChange(bool& handled, HWND hwnd) 
    334 { 
    335  
    336 } 
    337  
    338 void OnTimer(bool& handled, HWND hwnd, UINT id) 
    339 { 
    340  
    341 } 
    342  
    343 void OnVScroll(bool& handled, HWND hwnd, HWND hwndCtl, UINT code, int pos) 
    344 { 
    345  
    346 } 
    347  
    348 void OnWindowPosChanged(bool& handled, HWND hwnd, const LPWINDOWPOS lpwpos) 
    349 { 
    350  
    351 } 
    352  
    353 BOOL OnWindowPosChanging(bool& handled, HWND hwnd, LPWINDOWPOS lpwpos) 
    354 { 
    355     return 0; 
    356 } 
    357  
    358 void OnWinIniChange(bool& handled, HWND hwnd, LPCTSTR lpszSectionName) 
    359 { 
    360  
    361 } 
    362  
    363 void OnChar(bool& handled, HWND hwnd, TCHAR ch, int cRepeat) 
    364 { 
    365  
    366 } 
    367  
    368 int OnCharToItem(bool& handled, HWND hwnd, UINT ch, HWND hwndListbox, int iCaret) 
    369 { 
    370     return 0; 
    371 } 
    372  
    373 void OnDeadChar(bool& handled, HWND hwnd, TCHAR ch, int cRepeat) 
    374 { 
    375  
    376 } 
    377  
    378 void OnHotKey(bool& handled, HWND hwnd, int idHotKey, UINT fuModifiers, UINT vk) 
    379 { 
    380  
    381 } 
    382  
    383 void OnKeyDown(bool& handled, HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags) 
    384 { 
    385  
    386 } 
    387  
    388 void OnKeyUp(bool& handled, HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags) 
    389 { 
    390  
    391 } 
    392  
    393 void OnSysChar(bool& handled, HWND hwnd, TCHAR ch, int cRepeat) 
    394 { 
    395  
    396 } 
    397  
    398 void OnSysDeadChar(bool& handled, HWND hwnd, TCHAR ch, int cRepeat) 
    399 { 
    400  
    401 } 
    402  
    403 void OnSysKeyDown(bool& handled, HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags) 
    404 { 
    405  
    406 } 
    407  
    408 void OnSysKeyUp(bool& handled, HWND hwnd, UINT vk, BOOL fDown, int cRepeat, UINT flags) 
    409 { 
    410  
    411 } 
    412  
    413 int OnVkeyToItem(bool& handled, HWND hwnd, UINT vk, HWND hwndListbox, int iCaret) 
    414 { 
    415     return 0; 
    416 } 
    417  
    418 void OnDropFiles(bool& handled, HWND hwnd, HDROP hdrop) 
    419 { 
    420  
    421 } 
    422  
    423 void OnLButtonDblClk(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
    424 { 
    425  
    426 } 
    427  
    428 void OnLButtonDown(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
    429 { 
    430  
    431 } 
    432  
    433 void OnLButtonUp(bool& handled, HWND hwnd, int x, int y, UINT keyFlags) 
    434 { 
    435  
    436 } 
    437  
    438 void OnMButtonDblclk(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
    439 { 
    440  
    441 } 
    442  
    443 void OnMButtonDown(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
    444 { 
    445  
    446 } 
    447  
    448 void OnMButtonUp(bool& handled, HWND hwnd, int x, int y, UINT flags) 
    449 { 
    450  
    451 } 
    452  
    453 int OnMouseActivate(bool& handled, HWND hwnd, HWND hwndTopLevel, UINT codeHitTest, UINT msg) 
    454 { 
    455     return 0; 
    456 } 
    457  
    458 void OnMouseMove(bool& handled, HWND hwnd, int x, int y, UINT keyFlags) 
    459 { 
    460  
    461 } 
    462  
    463 void OnMouseWheel(bool& handled, HWND hwnd, int xPos, int yPos, int zDelta, UINT fwKeys) 
    464 { 
    465  
    466 } 
    467  
    468 void OnParentNotify(bool& handled, HWND hwnd, UINT msg, HWND hwndChild, int idChild) 
    469 { 
    470  
    471 } 
    472  
    473 void OnRButtonDblClk(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
    474 { 
    475  
    476 } 
    477  
    478 void OnRButtonDown(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
    479 { 
    480  
    481 } 
    482  
    483 void OnRButtonUp(bool& handled, HWND hwnd, int x, int y, UINT flags) 
    484 { 
    485  
    486 } 
    487  
    488 BOOL OnSetCursor(bool& handled, HWND hwnd, HWND hwndCursor, UINT codeHitTest, UINT msg) 
    489 { 
    490     return 0; 
    491 } 
    492  
    493 void OnAskCBFormatName(bool& handled, HWND hwnd, int cchMax, LPTSTR rgchName) 
    494 { 
    495  
    496 } 
    497  
    498 void OnChangeCBChain(bool& handled, HWND hwnd, HWND hwndRemove, HWND hwndNext) 
    499 { 
    500  
    501 } 
    502  
    503 void OnClear(bool& handled, HWND hwnd) 
    504 { 
    505  
    506 } 
    507  
    508 void OnCopy(bool& handled, HWND hwnd) 
    509 { 
    510  
    511 } 
    512  
    513 void OnCut(bool& handled, HWND hwnd) 
    514 { 
    515  
    516 } 
    517  
    518 void OnDestroyClipboard(bool& handled, HWND hwnd) 
    519 { 
    520  
    521 } 
    522  
    523 void OnDrawClipboard(bool& handled, HWND hwnd) 
    524 { 
    525  
    526 } 
    527  
    528 void OnHScrollClipboard(bool& handled, HWND hwnd, HWND hwndCBViewer, UINT code, int pos) 
    529 { 
    530  
    531 } 
    532  
    533 void OnPaintClipboard(bool& handled, HWND hwnd, HWND hwndCBViewer, const LPPAINTSTRUCT lpPaintStruct) 
    534 { 
    535  
    536 } 
    537  
    538 void OnPaste(bool& handled, HWND hwnd) 
    539 { 
    540  
    541 } 
    542  
    543 void OnRenderAllFormats(bool& handled, HWND hwnd) 
    544 { 
    545  
    546 } 
    547  
    548 HANDLE OnRenderFormat(bool& handled, HWND hwnd, UINT fmt) 
    549 { 
    550     return 0; 
    551 } 
    552  
    553 void OnSizeClipboard(bool& handled, HWND hwnd, HWND hwndCBViewer, const LPRECT lprc) 
    554 { 
    555  
    556 } 
    557  
    558 void OnUndo(bool& handled, HWND hwnd) 
    559 { 
    560  
    561 } 
    562  
    563 void OnVScrollClipboard(bool& handled, HWND hwnd, HWND hwndCBViewer, UINT code, int pos) 
    564 { 
    565  
    566 } 
    567  
    568 void OnMDIActivate(bool& handled, HWND hwnd, BOOL fActive, HWND hwndActivate, HWND hwndDeactivate) 
    569 { 
    570  
    571 } 
    572  
    573 BOOL OnMDICascade(bool& handled, HWND hwnd, UINT cmd) 
    574 { 
    575     return 0; 
    576 } 
    577  
    578 HWND OnMDICreate(bool& handled, HWND hwnd, const LPMDICREATESTRUCT lpmcs) 
    579 { 
    580     return 0; 
    581 } 
    582  
    583 void OnMDIDestroy(bool& handled, HWND hwnd, HWND hwndDestroy) 
    584 { 
    585  
    586 } 
    587  
    588 HWND OnMDIGetActive(bool& handled, HWND hwnd) 
    589 { 
    590     return 0; 
    591 } 
    592  
    593 void OnMDIIconArrange(bool& handled, HWND hwnd) 
    594 { 
    595  
    596 } 
    597  
    598 void OnMDIMaximize(bool& handled, HWND hwnd, HWND hwndMaximize) 
    599 { 
    600  
    601 } 
    602  
    603 HWND OnMDINext(bool& handled, HWND hwnd, HWND hwndCur, BOOL fPrev) 
    604 { 
    605     return 0; 
    606 } 
    607  
    608 void OnMDIRestore(bool& handled, HWND hwnd, HWND hwndRestore) 
    609 { 
    610  
    611 } 
    612  
    613 HMENU OnMDISetMenu(bool& handled, HWND hwnd, BOOL fRefresh, HMENU hmenuFrame, HMENU hmenuWindow) 
    614 { 
    615     return 0; 
    616 } 
    617  
    618 BOOL OnMDITile(bool& handled, HWND hwnd, UINT cmd) 
    619 { 
    620     return 0; 
    621 } 
    622  
    623 BOOL OnNCActivate(bool& handled, HWND hwnd, BOOL fActive, HWND hwndActDeact, BOOL fMinimized) 
    624 { 
    625     return 0; 
    626 } 
    627  
    628 UINT OnNCCalcSize(bool& handled, HWND hwnd, BOOL fCalcValidRects, NCCALCSIZE_PARAMS * lpcsp) 
    629 { 
    630     return 0; 
    631 } 
    632  
    633 BOOL OnNCCreate(bool& handled, HWND hwnd, LPCREATESTRUCT lpCreateStruct) 
    634 { 
    635     return 0; 
    636 } 
    637  
    638 void OnNCDestroy(bool& handled, HWND hwnd) 
    639 { 
    640  
    641 } 
    642  
    643 UINT OnNCHitTest(bool& handled, HWND hwnd, int x, int y) 
    644 { 
    645     return 0; 
    646 } 
    647  
    648 void OnNCLButtonDblClk(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
    649 { 
    650  
    651 } 
    652  
    653 void OnNCLButtonDown(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
    654 { 
    655  
    656 } 
    657  
    658 void OnNCLButtonUp(bool& handled, HWND hwnd, int x, int y, UINT codeHitTest)  
    659 { 
    660  
    661 } 
    662  
    663 void OnNCMButtonDblClk(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
    664 { 
    665  
    666 } 
    667  
    668 void OnNCMButtonDown(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
    669 { 
    670  
    671 } 
    672  
    673 void OnNCMButtonUp(bool& handled, HWND hwnd, int x, int y, UINT codeHitTest) 
    674 { 
    675  
    676 } 
    677  
    678 void OnNCMouseMove(bool& handled, HWND hwnd, int x, int y, UINT codeHitTest) 
    679 { 
    680  
    681 } 
    682  
    683 void OnNCPaint(bool& handled, HWND hwnd, HRGN hrgn) 
    684 { 
    685  
    686 } 
    687  
    688 void OnNCRButtonDblClk(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
    689 { 
    690  
    691 } 
    692  
    693 void OnNCRButtonDown(bool& handled, HWND hwnd, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
    694 { 
    695  
    696 } 
    697  
    698 void OnNCRButtonUp(bool& handled, HWND hwnd, int x, int y, UINT codeHitTest) 
    699 { 
    700  
    701 } 
     2void OnActivate(bool& handled, UINT state, HWND hwndActDeact, BOOL fMinimized) 
     3{ 
     4 
     5} 
     6 
     7void OnActivateApp(bool& handled, BOOL fActivate, DWORD dwThreadId) 
     8{ 
     9 
     10} 
     11 
     12void OnCancelMode(bool& handled) 
     13{ 
     14 
     15} 
     16 
     17void OnChildActivate(bool& handled) 
     18{ 
     19 
     20} 
     21 
     22void OnClose(bool& handled) 
     23{ 
     24 
     25} 
     26 
     27void OnCommand(bool& handled, int id, HWND hwndCtl, UINT codeNotify) 
     28{ 
     29 
     30} 
     31 
     32void OnCommNotify(bool& handled, int cid, UINT flags) 
     33{ 
     34 
     35} 
     36 
     37void OnCompacting(bool& handled, UINT compactRatio) 
     38{ 
     39 
     40} 
     41 
     42int OnCompareItem(bool& handled, const COMPAREITEMSTRUCT * lpCompareItem) 
     43{ 
     44    return 0; 
     45} 
     46 
     47void OnContextMenu(bool& handled, HWND hwndContext, UINT xPos, UINT yPos) 
     48{ 
     49 
     50} 
     51 
     52BOOL OnCopyData(bool& handled, HWND hwndFrom, PCOPYDATASTRUCT pcds) 
     53{ 
     54    return 0; 
     55} 
     56 
     57BOOL OnCreate(bool& handled, LPCREATESTRUCT lpCreateStruct) 
     58{ 
     59    return 0; 
     60} 
     61 
     62HBRUSH OnCtlColorBtn(bool& handled, HDC hdc, HWND hwndChild, int type) 
     63{ 
     64    return 0; 
     65} 
     66 
     67HBRUSH OnCtlColorDlg(bool& handled, HDC hdc, HWND hwndChild, int type) 
     68{ 
     69    return 0; 
     70} 
     71 
     72HBRUSH OnCtlColorEdit(bool& handled, HDC hdc, HWND hwndChild, int type) 
     73{ 
     74    return 0; 
     75} 
     76 
     77HBRUSH OnCtlColorListbox(bool& handled, HDC hdc, HWND hwndChild, int type) 
     78{ 
     79    return 0; 
     80} 
     81 
     82HBRUSH OnCtlColorMsgbox(bool& handled, HDC hdc, HWND hwndChild, int type) 
     83{ 
     84    return 0; 
     85} 
     86 
     87HBRUSH OnCtlColorScrollbar(bool& handled, HDC hdc, HWND hwndChild, int type) 
     88{ 
     89    return 0; 
     90} 
     91 
     92HBRUSH OnCtlColorStatic(bool& handled, HDC hdc, HWND hwndChild, int type) 
     93{ 
     94    return 0; 
     95} 
     96 
     97void OnDeleteItem(bool& handled, const DELETEITEMSTRUCT * lpDeleteItem) 
     98{ 
     99 
     100} 
     101 
     102void OnDestroy(bool& handled) 
     103{ 
     104 
     105} 
     106 
     107BOOL OnDeviceChange(bool& handled, UINT uEvent, DWORD dwEventData) 
     108{ 
     109    return 0; 
     110} 
     111 
     112void OnDevModeChange(bool& handled, LPCTSTR lpszDeviceName) 
     113{ 
     114 
     115} 
     116 
     117void OnDisplayChange(bool& handled, UINT bitsPerPixel, UINT cxScreen, UINT cyScreen) 
     118{ 
     119 
     120} 
     121 
     122void OnDrawItem(bool& handled, const DRAWITEMSTRUCT * lpDrawItem) 
     123{ 
     124 
     125} 
     126 
     127void OnEnable(bool& handled, BOOL fEnable) 
     128{ 
     129 
     130} 
     131 
     132void OnEndSession(bool& handled, BOOL fEnding) 
     133{ 
     134 
     135} 
     136 
     137void OnEnterIdle(bool& handled, UINT source, HWND hwndSource) 
     138{ 
     139 
     140} 
     141 
     142BOOL OnEraseBkgnd(bool& handled, HDC hdc) 
     143{ 
     144    return 0; 
     145} 
     146 
     147void OnFontChange(bool& handled) 
     148{ 
     149 
     150} 
     151 
     152UINT OnGetDlgCode(bool& handled, LPMSG lpmsg) 
     153{ 
     154    return 0; 
     155} 
     156 
     157HFONT OnGetFont(bool& handled) 
     158{ 
     159    return 0; 
     160} 
     161 
     162void OnGetMinMaxInfo(bool& handled, LPMINMAXINFO lpMinMaxInfo) 
     163{ 
     164 
     165} 
     166 
     167INT OnGetText(bool& handled, int cchTextMax, LPTSTR lpszText) 
     168{ 
     169    return 0; 
     170} 
     171 
     172INT OnGetTextLength(bool& handled) 
     173{ 
     174    return 0; 
     175} 
     176 
     177void OnHScroll(bool& handled, HWND hwndCtl, UINT code, int pos) 
     178{ 
     179 
     180} 
     181 
     182BOOL OnIconEraseBkgnd(bool& handled, HDC hdc) 
     183{ 
     184    return 0; 
     185} 
     186 
     187BOOL OnInitDialog(bool& handled, HWND hwndFocus, LPARAM lParam) 
     188{ 
     189    return 0; 
     190} 
     191 
     192void OnInitMenu(bool& handled, HMENU hMenu) 
     193{ 
     194 
     195} 
     196 
     197void OnInitMenuPopup(bool& handled, HMENU hMenu, UINT item, BOOL fSystemMenu) 
     198{ 
     199 
     200} 
     201 
     202void OnKillFocus(bool& handled, HWND hwndNewFocus) 
     203{ 
     204 
     205} 
     206 
     207void OnMeasureItem(bool& handled, MEASUREITEMSTRUCT * lpMeasureItem) 
     208{ 
     209 
     210} 
     211 
     212DWORD OnMenuChar(bool& handled, UINT ch, UINT flags, HMENU hmenu) 
     213{ 
     214    return 0; 
     215} 
     216 
     217void OnMenuSelect(bool& handled, HMENU hmenu, int item, HMENU hmenuPopup, UINT flags) 
     218{ 
     219 
     220} 
     221 
     222void OnMove(bool& handled, int x, int y) 
     223{ 
     224 
     225} 
     226 
     227HWND OnNextDlgCtl(bool& handled, HWND hwndSetFocus, BOOL fNext) 
     228{ 
     229    return 0; 
     230} 
     231 
     232void OnPaint(bool& handled) 
     233{ 
     234 
     235} 
     236 
     237void OnPaletteChanged(bool& handled, HWND hwndPaletteChange) 
     238{ 
     239 
     240} 
     241 
     242void OnPaletteIsChanging(bool& handled, HWND hwndPaletteChange) 
     243{ 
     244 
     245} 
     246 
     247void OnPower(bool& handled, int code) 
     248{ 
     249 
     250} 
     251 
     252HICON OnQueryDragIcon(bool& handled) 
     253{ 
     254    return 0; 
     255} 
     256 
     257BOOL OnQueryEndSession(bool& handled) 
     258{ 
     259    return 0; 
     260} 
     261 
     262BOOL OnQueryNewPalette(bool& handled) 
     263{ 
     264    return 0; 
     265} 
     266 
     267BOOL OnQueryOpen(bool& handled) 
     268{ 
     269    return 0; 
     270} 
     271 
     272void OnQueueSync(bool& handled) 
     273{ 
     274 
     275} 
     276 
     277void OnQuit(bool& handled, int exitCode) 
     278{ 
     279 
     280} 
     281 
     282void OnSetFocus(bool& handled, HWND hwndOldFocus) 
     283{ 
     284 
     285} 
     286 
     287void OnSetFont(bool& handledCtl, HFONT hfont, BOOL fRedraw) 
     288{ 
     289 
     290} 
     291 
     292void OnSetRedraw(bool& handled, BOOL fRedraw) 
     293{ 
     294 
     295} 
     296 
     297void OnSetText(bool& handled, LPCTSTR lpszText) 
     298{ 
     299 
     300} 
     301 
     302void OnShowWindow(bool& handled, BOOL fShow, UINT status) 
     303{ 
     304 
     305} 
     306 
     307void OnSize(bool& handled, UINT state, int cx, int cy) 
     308{ 
     309 
     310} 
     311 
     312void OnSpoolerStatus(bool& handled, UINT status, int cJobInQueue) 
     313{ 
     314 
     315} 
     316 
     317void OnSysColorChange(bool& handled) 
     318{ 
     319 
     320} 
     321 
     322void OnSysCommand(bool& handled, UINT cmd, int x, int y) 
     323{ 
     324 
     325} 
     326 
     327void OnSystemError(bool& handled, int errCode) 
     328{ 
     329 
     330} 
     331 
     332void OnTimeChange(bool& handled) 
     333{ 
     334 
     335} 
     336 
     337void OnTimer(bool& handled, UINT id) 
     338{ 
     339 
     340} 
     341 
     342void OnVScroll(bool& handled, HWND hwndCtl, UINT code, int pos) 
     343{ 
     344 
     345} 
     346 
     347void OnWindowPosChanged(bool& handled, const LPWINDOWPOS lpwpos) 
     348{ 
     349 
     350} 
     351 
     352BOOL OnWindowPosChanging(bool& handled, LPWINDOWPOS lpwpos) 
     353{ 
     354    return 0; 
     355} 
     356 
     357void OnWinIniChange(bool& handled, LPCTSTR lpszSectionName) 
     358{ 
     359 
     360} 
     361 
     362void OnChar(bool& handled, TCHAR ch, int cRepeat) 
     363{ 
     364 
     365} 
     366 
     367int OnCharToItem(bool& handled, UINT ch, HWND hwndListbox, int iCaret) 
     368{ 
     369    return 0; 
     370} 
     371 
     372void OnDeadChar(bool& handled, TCHAR ch, int cRepeat) 
     373{ 
     374 
     375} 
     376 
     377void OnHotKey(bool& handled, int idHotKey, UINT fuModifiers, UINT vk) 
     378{ 
     379 
     380} 
     381 
     382void OnKeyDown(bool& handled, UINT vk, BOOL fDown, int cRepeat, UINT flags) 
     383{ 
     384 
     385} 
     386 
     387void OnKeyUp(bool& handled, UINT vk, BOOL fDown, int cRepeat, UINT flags) 
     388{ 
     389 
     390} 
     391 
     392void OnSysChar(bool& handled, TCHAR ch, int cRepeat) 
     393{ 
     394 
     395} 
     396 
     397void OnSysDeadChar(bool& handled, TCHAR ch, int cRepeat) 
     398{ 
     399 
     400} 
     401 
     402void OnSysKeyDown(bool& handled, UINT vk, BOOL fDown, int cRepeat, UINT flags) 
     403{ 
     404 
     405} 
     406 
     407void OnSysKeyUp(bool& handled, UINT vk, BOOL fDown, int cRepeat, UINT flags) 
     408{ 
     409 
     410} 
     411 
     412int OnVkeyToItem(bool& handled, UINT vk, HWND hwndListbox, int iCaret) 
     413{ 
     414    return 0; 
     415} 
     416 
     417void OnDropFiles(bool& handled, HDROP hdrop) 
     418{ 
     419 
     420} 
     421 
     422void OnLButtonDblClk(bool& handled, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
     423{ 
     424 
     425} 
     426 
     427void OnLButtonDown(bool& handled, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
     428{ 
     429 
     430} 
     431 
     432void OnLButtonUp(bool& handled, int x, int y, UINT keyFlags) 
     433{ 
     434 
     435} 
     436 
     437void OnMButtonDblclk(bool& handled, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
     438{ 
     439 
     440} 
     441 
     442void OnMButtonDown(bool& handled, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
     443{ 
     444 
     445} 
     446 
     447void OnMButtonUp(bool& handled, int x, int y, UINT flags) 
     448{ 
     449 
     450} 
     451 
     452int OnMouseActivate(bool& handled, HWND hwndTopLevel, UINT codeHitTest, UINT msg) 
     453{ 
     454    return 0; 
     455} 
     456 
     457void OnMouseMove(bool& handled, int x, int y, UINT keyFlags) 
     458{ 
     459 
     460} 
     461 
     462void OnMouseWheel(bool& handled, int xPos, int yPos, int zDelta, UINT fwKeys) 
     463{ 
     464 
     465} 
     466 
     467void OnParentNotify(bool& handled, UINT msg, HWND hwndChild, int idChild) 
     468{ 
     469 
     470} 
     471 
     472void OnRButtonDblClk(bool& handled, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
     473{ 
     474 
     475} 
     476 
     477void OnRButtonDown(bool& handled, BOOL fDoubleClick, int x, int y, UINT keyFlags) 
     478{ 
     479 
     480} 
     481 
     482void OnRButtonUp(bool& handled, int x, int y, UINT flags) 
     483{ 
     484 
     485} 
     486 
     487BOOL OnSetCursor(bool& handled, HWND hwndCursor, UINT codeHitTest, UINT msg) 
     488{ 
     489    return 0; 
     490} 
     491 
     492void OnAskCBFormatName(bool& handled, int cchMax, LPTSTR rgchName) 
     493{ 
     494 
     495} 
     496 
     497void OnChangeCBChain(bool& handled, HWND hwndRemove, HWND hwndNext) 
     498{ 
     499 
     500} 
     501 
     502void OnClear(bool& handled) 
     503{ 
     504 
     505} 
     506 
     507void OnCopy(bool& handled) 
     508{ 
     509 
     510} 
     511 
     512void OnCut(bool& handled) 
     513{ 
     514 
     515} 
     516 
     517void OnDestroyClipboard(bool& handled) 
     518{ 
     519 
     520} 
     521 
     522void OnDrawClipboard(bool& handled) 
     523{ 
     524 
     525} 
     526 
     527void OnHScrollClipboard(bool& handled, HWND hwndCBViewer, UINT code, int pos) 
     528{ 
     529 
     530} 
     531 
     532void OnPaintClipboard(bool& handled, HWND hwndCBViewer, const LPPAINTSTRUCT lpPaintStruct) 
     533{ 
     534 
     535} 
     536 
     537void OnPaste(bool& handled) 
     538{ 
     539 
     540} 
     541 
     542void OnRenderAllFormats(bool& handled) 
     543{ 
     544 
     545} 
     546 
     547HANDLE OnRenderFormat(bool& handled, UINT fmt) 
     548{ 
     549    return 0; 
     550} 
     551 
     552void OnSizeClipboard(bool& handled, HWND hwndCBViewer, const LPRECT lprc) 
     553{ 
     554 
     555} 
     556 
     557void OnUndo(bool& handled) 
     558{ 
     559 
     560} 
     561 
     562void OnVScrollClipboard(bool& handled, HWND hwndCBViewer, UINT code, int pos) 
     563{ 
     564 
     565} 
     566 
     567void OnMDIActivate(bool& handled, BOOL fActive, HWND hwndActivate, HWND hwndDeactivate) 
     568{ 
     569 
     570} 
     571 
     572BOOL OnMDICascade(bool& handled, UINT cmd) 
     573{ 
     574    return 0; 
     575} 
     576 
     577HWND OnMDICreate(bool& handled, const LPMDICREATESTRUCT lpmcs) 
     578{ 
     579    return 0; 
     580} 
     581 
     582void OnMDIDestroy(bool& handled, HWND hwndDestroy) 
     583{ 
     584 
     585} 
     586 
     587HWND OnMDIGetActive(bool& handled) 
     588{ 
     589    return 0; 
     590} 
     591 
     592void OnMDIIconArrange(bool& handled) 
     593{ 
     594 
     595} 
     596 
     597void OnMDIMaximize(bool& handled, HWND hwndMaximize) 
     598{ 
     599 
     600} 
     601 
     602HWND OnMDINext(bool& handled, HWND hwndCur, BOOL fPrev) 
     603{ 
     604    return 0; 
     605} 
     606 
     607void OnMDIRestore(bool& handled, HWND hwndRestore) 
     608{ 
     609 
     610} 
     611 
     612HMENU OnMDISetMenu(bool& handled, BOOL fRefresh, HMENU hmenuFrame, HMENU hmenuWindow) 
     613{ 
     614    return 0; 
     615} 
     616 
     617BOOL OnMDITile(bool& handled, UINT cmd) 
     618{ 
     619    return 0; 
     620} 
     621 
     622BOOL OnNCActivate(bool& handled, BOOL fActive, HWND hwndActDeact, BOOL fMinimized) 
     623{ 
     624    return 0; 
     625} 
     626 
     627UINT OnNCCalcSize(bool& handled, BOOL fCalcValidRects, NCCALCSIZE_PARAMS * lpcsp) 
     628{ 
     629    return 0; 
     630} 
     631 
     632BOOL OnNCCreate(bool& handled, LPCREATESTRUCT lpCreateStruct) 
     633{ 
     634    return 0; 
     635} 
     636 
     637void OnNCDestroy(bool& handled) 
     638{ 
     639 
     640} 
     641 
     642UINT OnNCHitTest(bool& handled, int x, int y) 
     643{ 
     644    return 0; 
     645} 
     646 
     647void OnNCLButtonDblClk(bool& handled, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
     648{ 
     649 
     650} 
     651 
     652void OnNCLButtonDown(bool& handled, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
     653{ 
     654 
     655} 
     656 
     657void OnNCLButtonUp(bool& handled, int x, int y, UINT codeHitTest)  
     658{ 
     659 
     660} 
     661 
     662void OnNCMButtonDblClk(bool& handled, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
     663{ 
     664 
     665} 
     666 
     667void OnNCMButtonDown(bool& handled, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
     668{ 
     669 
     670} 
     671 
     672void OnNCMButtonUp(bool& handled, int x, int y, UINT codeHitTest) 
     673{ 
     674 
     675} 
     676 
     677void OnNCMouseMove(bool& handled, int x, int y, UINT codeHitTest) 
     678{ 
     679 
     680} 
     681 
     682void OnNCPaint(bool& handled, HRGN hrgn) 
     683{ 
     684 
     685} 
     686 
     687void OnNCRButtonDblClk(bool& handled, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
     688{ 
     689 
     690} 
     691 
     692void OnNCRButtonDown(bool& handled, BOOL fDoubleClick, int x, int y, UINT codeHitTest) 
     693{ 
     694 
     695} 
     696 
     697void OnNCRButtonUp(bool& handled, int x, int y, UINT codeHitTest) 
     698{ 
     699 
     700} 
  • lang/cplusplus/i3/src/mol/include/mol/windows/GuiModule.h

    r14356 r14379  
    104104        } 
    105105 
    106         // cygwin��32api������č������b�Z�[�W�N���b�J�[ 
    107         // XXX ����itch������eturn���܂��I�I 
    108         HWND hwnd = getWindow(); 
    109         switch (msg) { 
    110 #include "MessageCrackerMacros.h" 
     106            {   // XXX ����itch������eturn���܂��I�I 
     107                bool& hwnd = handled; 
     108                switch (msg) { 
    111109#include "MessageCracker.h" 
    112         } 
     110                } 
     111            } 
    113112 
    114113        return 0; 
  • lang/cplusplus/i3/src/mol/include/mol/windows/MessageCracker.h

    r14356 r14379  
    1 MOL_HANDLE_MSG (hwnd, WM_ACTIVATE, getChild().OnActivate); 
    2 MOL_HANDLE_MSG (hwnd, WM_ACTIVATEAPP, getChild().OnActivateApp); 
    3 MOL_HANDLE_MSG (hwnd, WM_CANCELMODE, getChild().OnCancelMode); 
    4 MOL_HANDLE_MSG (hwnd, WM_CHILDACTIVATE, getChild().OnChildActivate); 
    5 MOL_HANDLE_MSG (hwnd, WM_CLOSE, getChild().OnClose); 
    6 MOL_HANDLE_MSG (hwnd, WM_COMMAND, getChild().OnCommand); 
    7 MOL_HANDLE_MSG (hwnd, WM_COMMNOTIFY, getChild().OnCommNotify); 
    8 MOL_HANDLE_MSG (hwnd, WM_COMPACTING, getChild().OnCompacting); 
    9 MOL_HANDLE_MSG (hwnd, WM_COMPAREITEM, getChild().OnCompareItem); 
    10 //MOL_HANDLE_MSG (hwnd, WM_CONTEXTMENU, getChild().OnContextMenu); 
    11 //MOL_HANDLE_MSG (hwnd, WM_COPYDATA, getChild().OnCopyData); 
    12 MOL_HANDLE_MSG (hwnd, WM_CREATE, getChild().OnCreate); 
    13 MOL_HANDLE_MSG (hwnd, WM_CTLCOLORBTN, getChild().OnCtlColorBtn); 
    14 MOL_HANDLE_MSG (hwnd, WM_CTLCOLORDLG, getChild().OnCtlColorDlg); 
    15 MOL_HANDLE_MSG (hwnd, WM_CTLCOLOREDIT, getChild().OnCtlColorEdit); 
    16 MOL_HANDLE_MSG (hwnd, WM_CTLCOLORLISTBOX, getChild().OnCtlColorListbox); 
    17 MOL_HANDLE_MSG (hwnd, WM_CTLCOLORMSGBOX, getChild().OnCtlColorMsgbox); 
    18 MOL_HANDLE_MSG (hwnd, WM_CTLCOLORSCROLLBAR, getChild().OnCtlColorScrollbar); 
    19 MOL_HANDLE_MSG (hwnd, WM_CTLCOLORSTATIC, getChild().OnCtlColorStatic); 
    20 MOL_HANDLE_MSG (hwnd, WM_DELETEITEM, getChild().OnDeleteItem); 
    21 MOL_HANDLE_MSG (hwnd, WM_DESTROY, getChild().OnDestroy); 
    22 //MOL_HANDLE_MSG (hwnd, WM_DEVICECHANGE, getChild().OnDeviceChange); 
    23 MOL_HANDLE_MSG (hwnd, WM_DEVMODECHANGE, getChild().OnDevModeChange); 
    24 //MOL_HANDLE_MSG (hwnd, WM_DISPLAYCHANGE, getChild().OnDisplayChange); 
    25 MOL_HANDLE_MSG (hwnd, WM_DRAWITEM, getChild().OnDrawItem); 
    26 MOL_HANDLE_MSG (hwnd, WM_ENABLE, getChild().OnEnable); 
    27 MOL_HANDLE_MSG (hwnd, WM_ENDSESSION, getChild().OnEndSession); 
    28 MOL_HANDLE_MSG (hwnd, WM_ENTERIDLE, getChild().OnEnterIdle); 
    29 MOL_HANDLE_MSG (hwnd, WM_ERASEBKGND, getChild().OnEraseBkgnd); 
    30 MOL_HANDLE_MSG (hwnd, WM_FONTCHANGE, getChild().OnFontChange); 
    31 MOL_HANDLE_MSG (hwnd, WM_GETDLGCODE, getChild().OnGetDlgCode); 
    32 MOL_HANDLE_MSG (hwnd, WM_GETFONT, getChild().OnGetFont); 
    33 MOL_HANDLE_MSG (hwnd, WM_GETMINMAXINFO, getChild().OnGetMinMaxInfo); 
    34 MOL_HANDLE_MSG (hwnd, WM_GETTEXT, getChild().OnGetText); 
    35 MOL_HANDLE_MSG (hwnd, WM_GETTEXTLENGTH, getChild().OnGetTextLength); 
    36 MOL_HANDLE_MSG (hwnd, WM_HSCROLL, getChild().OnHScroll); 
    37 MOL_HANDLE_MSG (hwnd, WM_ICONERASEBKGND, getChild().OnIconEraseBkgnd); 
    38 MOL_HANDLE_MSG (hwnd, WM_INITDIALOG, getChild().OnInitDialog); 
    39 MOL_HANDLE_MSG (hwnd, WM_INITMENU, getChild().OnInitMenu); 
    40 MOL_HANDLE_MSG (hwnd, WM_INITMENUPOPUP, getChild().OnInitMenuPopup); 
    41 MOL_HANDLE_MSG (hwnd, WM_KILLFOCUS, getChild().OnKillFocus); 
    42 MOL_HANDLE_MSG (hwnd, WM_MEASUREITEM, getChild().OnMeasureItem); 
    43 MOL_HANDLE_MSG (hwnd, WM_MENUCHAR, getChild().OnMenuChar); 
    44 MOL_HANDLE_MSG (hwnd, WM_MENUSELECT, getChild().OnMenuSelect); 
    45 MOL_HANDLE_MSG (hwnd, WM_MOVE, getChild().OnMove); 
    46 MOL_HANDLE_MSG (hwnd, WM_NEXTDLGCTL, getChild().OnNextDlgCtl); 
    47 MOL_HANDLE_MSG (hwnd, WM_PAINT, getChild().OnPaint); 
    48 MOL_HANDLE_MSG (hwnd, WM_PALETTECHANGED, getChild().OnPaletteChanged); 
    49 MOL_HANDLE_MSG (hwnd, WM_PALETTEISCHANGING, getChild().OnPaletteIsChanging); 
    50 MOL_HANDLE_MSG (hwnd, WM_POWER, getChild().OnPower); 
    51 MOL_HANDLE_MSG (hwnd, WM_QUERYDRAGICON, getChild().OnQueryDragIcon); 
    52 MOL_HANDLE_MSG (hwnd, WM_QUERYENDSESSION, getChild().OnQueryEndSession); 
    53 MOL_HANDLE_MSG (hwnd, WM_QUERYNEWPALETTE, getChild().OnQueryNewPalette); 
    54 MOL_HANDLE_MSG (hwnd, WM_QUERYOPEN, getChild().OnQueryOpen); 
    55 MOL_HANDLE_MSG (hwnd, WM_QUEUESYNC, getChild().OnQueueSync); 
    56 MOL_HANDLE_MSG (hwnd, WM_QUIT, getChild().OnQuit); 
    57 MOL_HANDLE_MSG (hwnd, WM_SETFOCUS, getChild().OnSetFocus); 
    58 MOL_HANDLE_MSG (hwnd, WM_SETFONT, getChild().OnSetFont); 
    59 MOL_HANDLE_MSG (hwnd, WM_SETREDRAW, getChild().OnSetRedraw); 
    60 MOL_HANDLE_MSG (hwnd, WM_SETTEXT, getChild().OnSetText); 
    61 MOL_HANDLE_MSG (hwnd, WM_SHOWWINDOW, getChild().OnShowWindow); 
    62 MOL_HANDLE_MSG (hwnd, WM_SIZE, getChild().OnSize); 
    63 MOL_HANDLE_MSG (hwnd, WM_SPOOLERSTATUS, getChild().OnSpoolerStatus); 
    64 MOL_HANDLE_MSG (hwnd, WM_SYSCOLORCHANGE, getChild().OnSysColorChange); 
    65 MOL_HANDLE_MSG (hwnd, WM_SYSCOMMAND, getChild().OnSysCommand); 
    66 //MOL_HANDLE_MSG (hwnd, WM_SYSTEMERROR, getChild().OnSystemError); 
    67 MOL_HANDLE_MSG (hwnd, WM_TIMECHANGE, getChild().OnTimeChange); 
    68 MOL_HANDLE_MSG (hwnd, WM_TIMER, getChild().OnTimer); 
    69 MOL_HANDLE_MSG (hwnd, WM_VSCROLL, getChild().OnVScroll); 
    70 MOL_HANDLE_MSG (hwnd, WM_WINDOWPOSCHANGED, getChild().OnWindowPosChanged); 
    71 MOL_HANDLE_MSG (hwnd, WM_WINDOWPOSCHANGING, getChild().OnWindowPosChanging); 
    72 MOL_HANDLE_MSG (hwnd, WM_WININICHANGE, getChild().OnWinIniChange); 
    73 MOL_HANDLE_MSG (hwnd, WM_CHAR, getChild().OnChar); 
    74 MOL_HANDLE_MSG (hwnd, WM_CHARTOITEM, getChild().OnCharToItem); 
    75 MOL_HANDLE_MSG (hwnd, WM_DEADCHAR, getChild().OnDeadChar); 
    76 //MOL_HANDLE_MSG (hwnd, WM_HOTKEY, getChild().OnHotKey); 
    77 MOL_HANDLE_MSG (hwnd, WM_KEYDOWN, getChild().OnKeyDown); 
    78 MOL_HANDLE_MSG (hwnd, WM_KEYUP, getChild().OnKeyUp); 
    79 MOL_HANDLE_MSG (hwnd, WM_SYSCHAR, getChild().OnSysChar); 
    80 MOL_HANDLE_MSG (hwnd, WM_SYSDEADCHAR, getChild().OnSysDeadChar); 
    81 MOL_HANDLE_MSG (hwnd, WM_SYSKEYDOWN, getChild().OnSysKeyDown); 
    82 MOL_HANDLE_MSG (hwnd, WM_SYSKEYUP, getChild().OnSysKeyUp); 
    83 MOL_HANDLE_MSG (hwnd, WM_VKEYTOITEM, getChild().OnVkeyToItem); 
    84 MOL_HANDLE_MSG (hwnd, WM_DROPFILES, getChild().OnDropFiles); 
    85 MOL_HANDLE_MSG (hwnd, WM_LBUTTONDBLCLK, getChild().OnLButtonDblClk); 
    86 MOL_HANDLE_MSG (hwnd, WM_LBUTTONDOWN, getChild().OnLButtonDown); 
    87 MOL_HANDLE_MSG (hwnd, WM_LBUTTONUP, getChild().OnLButtonUp); 
    88 MOL_HANDLE_MSG (hwnd, WM_MBUTTONDBLCLK, getChild().OnMButtonDblclk); 
    89 MOL_HANDLE_MSG (hwnd, WM_MBUTTONDOWN, getChild().OnMButtonDown); 
    90 MOL_HANDLE_MSG (hwnd, WM_MBUTTONUP, getChild().OnMButtonUp); 
    91 MOL_HANDLE_MSG (hwnd, WM_MOUSEACTIVATE, getChild().OnMouseActivate); 
    92 MOL_HANDLE_MSG (hwnd, WM_MOUSEMOVE, getChild().OnMouseMove); 
    93 //MOL_HANDLE_MSG (hwnd, WM_MOUSEWHEEL, getChild().OnMouseWheel); 
    94 MOL_HANDLE_MSG (hwnd, WM_PARENTNOTIFY, getChild().OnParentNotify); 
    95 MOL_HANDLE_MSG (hwnd, WM_RBUTTONDBLCLK, getChild().OnRButtonDblClk); 
    96 MOL_HANDLE_MSG (hwnd, WM_RBUTTONDOWN, getChild().OnRButtonDown); 
    97 MOL_HANDLE_MSG (hwnd, WM_RBUTTONUP, getChild().OnRButtonUp); 
    98 MOL_HANDLE_MSG (hwnd, WM_SETCURSOR, getChild().OnSetCursor); 
    99 MOL_HANDLE_MSG (hwnd, WM_ASKCBFORMATNAME, getChild().OnAskCBFormatName); 
    100 MOL_HANDLE_MSG (hwnd, WM_CHANGECBCHAIN, getChild().OnChangeCBChain); 
    101 MOL_HANDLE_MSG (hwnd, WM_CLEAR, getChild().OnClear); 
    102 MOL_HANDLE_MSG (hwnd, WM_COPY, getChild().OnCopy); 
    103 MOL_HANDLE_MSG (hwnd, WM_CUT, getChild().OnCut); 
    104 MOL_HANDLE_MSG (hwnd, WM_DESTROYCLIPBOARD, getChild().OnDestroyClipboard); 
    105 MOL_HANDLE_MSG (hwnd, WM_DRAWCLIPBOARD, getChild().OnDrawClipboard); 
    106 MOL_HANDLE_MSG (hwnd, WM_HSCROLLCLIPBOARD, getChild().OnHScrollClipboard); 
    107 MOL_HANDLE_MSG (hwnd, WM_PAINTCLIPBOARD, getChild().OnPaintClipboard); 
    108 MOL_HANDLE_MSG (hwnd, WM_PASTE, getChild().OnPaste); 
    109 MOL_HANDLE_MSG (hwnd, WM_RENDERALLFORMATS, getChild().OnRenderAllFormats); 
    110 MOL_HANDLE_MSG (hwnd, WM_RENDERFORMAT, getChild().OnRenderFormat); 
    111 MOL_HANDLE_MSG (hwnd, WM_SIZECLIPBOARD, getChild().OnSizeClipboard); 
    112 MOL_HANDLE_MSG (hwnd, WM_UNDO, getChild().OnUndo); 
    113 MOL_HANDLE_MSG (hwnd, WM_VSCROLLCLIPBOARD, getChild().OnVScrollClipboard); 
    114 MOL_HANDLE_MSG (hwnd, WM_MDIACTIVATE, getChild().OnMDIActivate); 
    115 MOL_HANDLE_MSG (hwnd, WM_MDICASCADE, getChild().OnMDICascade); 
    116 MOL_HANDLE_MSG (hwnd, WM_MDICREATE, getChild().OnMDICreate); 
    117 MOL_HANDLE_MSG (hwnd, WM_MDIDESTROY, getChild().OnMDIDestroy); 
    118 MOL_HANDLE_MSG (hwnd, WM_MDIGETACTIVE, getChild().OnMDIGetActive); 
    119 MOL_HANDLE_MSG (hwnd, WM_MDIICONARRANGE, getChild().OnMDIIconArrange); 
    120 MOL_HANDLE_MSG (hwnd, WM_MDIMAXIMIZE, getChild().OnMDIMaximize); 
    121 MOL_HANDLE_MSG (hwnd, WM_MDINEXT, getChild().OnMDINext); 
    122 MOL_HANDLE_MSG (hwnd, WM_MDIRESTORE, getChild().OnMDIRestore); 
    123 MOL_HANDLE_MSG (hwnd, WM_MDISETMENU, getChild().OnMDISetMenu); 
    124 MOL_HANDLE_MSG (hwnd, WM_MDITILE, getChild().OnMDITile); 
    125 MOL_HANDLE_MSG (hwnd, WM_NCACTIVATE, getChild().OnNCActivate); 
    126 MOL_HANDLE_MSG (hwnd, WM_NCCALCSIZE, getChild().OnNCCalcSize); 
    127 MOL_HANDLE_MSG (hwnd, WM_NCCREATE, getChild().OnNCCreate); 
    128 MOL_HANDLE_MSG (hwnd, WM_NCDESTROY, getChild().OnNCDestroy); 
    129 MOL_HANDLE_MSG (hwnd, WM_NCHITTEST, getChild().OnNCHitTest); 
    130 MOL_HANDLE_MSG (hwnd, WM_NCLBUTTONDBLCLK, getChild().OnNCLButtonDblClk); 
    131 MOL_HANDLE_MSG (hwnd, WM_NCLBUTTONDOWN, getChild().OnNCLButtonDown); 
    132 MOL_HANDLE_MSG (hwnd, WM_NCLBUTTONUP, getChild().OnNCLButtonUp); 
    133 MOL_HANDLE_MSG (hwnd, WM_NCMBUTTONDBLCLK, getChild().OnNCMButtonDblClk); 
    134 MOL_HANDLE_MSG (hwnd, WM_NCMBUTTONDOWN, getChild().OnNCMButtonDown); 
    135 MOL_HANDLE_MSG (hwnd, WM_NCMBUTTONUP, getChild().OnNCMButtonUp); 
    136 MOL_HANDLE_MSG (hwnd, WM_NCMOUSEMOVE, getChild().OnNCMouseMove); 
    137 MOL_HANDLE_MSG (hwnd, WM_NCPAINT, getChild().OnNCPaint); 
    138 MOL_HANDLE_MSG (hwnd, WM_NCRBUTTONDBLCLK, getChild().OnNCRButtonDblClk); 
    139 MOL_HANDLE_MSG (hwnd, WM_NCRBUTTONDOWN, getChild().OnNCRButtonDown); 
    140 MOL_HANDLE_MSG (hwnd, WM_NCRBUTTONUP, getChild().OnNCRButtonUp); 
     1HANDLE_MSG (hwnd, WM_ACTIVATE, getChild().OnActivate); 
     2HANDLE_MSG (hwnd, WM_ACTIVATEAPP, getChild().OnActivateApp); 
     3HANDLE_MSG (hwnd, WM_CANCELMODE, getChild().OnCancelMode); 
     4HANDLE_MSG (hwnd, WM_CHILDACTIVATE, getChild().OnChildActivate); 
     5HANDLE_MSG (hwnd, WM_CLOSE, getChild().OnClose); 
     6HANDLE_MSG (hwnd, WM_COMMAND, getChild().OnCommand); 
     7HANDLE_MSG (hwnd, WM_COMMNOTIFY, getChild().OnCommNotify); 
     8HANDLE_MSG (hwnd, WM_COMPACTING, getChild().OnCompacting); 
     9HANDLE_MSG (hwnd, WM_COMPAREITEM, getChild().OnCompareItem); 
     10//HANDLE_MSG (hwnd, WM_CONTEXTMENU, getChild().OnContextMenu); 
     11//HANDLE_MSG (hwnd, WM_COPYDATA, getChild().OnCopyData); 
     12HANDLE_MSG (hwnd, WM_CREATE, getChild().OnCreate); 
     13HANDLE_MSG (hwnd, WM_CTLCOLORBTN, getChild().OnCtlColorBtn); 
     14HANDLE_MSG (hwnd, WM_CTLCOLORDLG, getChild().OnCtlColorDlg); 
     15HANDLE_MSG (hwnd, WM_CTLCOLOREDIT, getChild().OnCtlColorEdit); 
     16HANDLE_MSG (hwnd, WM_CTLCOLORLISTBOX, getChild().OnCtlColorListbox); 
     17HANDLE_MSG (hwnd, WM_CTLCOLORMSGBOX, getChild().OnCtlColorMsgbox); 
     18HANDLE_MSG (hwnd, WM_CTLCOLORSCROLLBAR, getChild().OnCtlColorScrollbar); 
     19HANDLE_MSG (hwnd, WM_CTLCOLORSTATIC, getChild().OnCtlColorStatic); 
     20HANDLE_MSG (hwnd, WM_DELETEITEM, getChild().OnDeleteItem); 
     21HANDLE_MSG (hwnd, WM_DESTROY, getChild().OnDestroy); 
     22//HANDLE_MSG (hwnd, WM_DEVICECHANGE, getChild().OnDeviceChange); 
     23HANDLE_MSG (hwnd, WM_DEVMODECHANGE, getChild().OnDevModeChange); 
     24//HANDLE_MSG (hwnd, WM_DISPLAYCHANGE, getChild().OnDisplayChange); 
     25HANDLE_MSG (hwnd, WM_DRAWITEM, getChild().OnDrawItem); 
     26HANDLE_MSG (hwnd, WM_ENABLE, getChild().OnEnable); 
     27HANDLE_MSG (hwnd, WM_ENDSESSION, getChild().OnEndSession); 
     28HANDLE_MSG (hwnd, WM_ENTERIDLE, getChild().OnEnterIdle); 
     29HANDLE_MSG (hwnd, WM_ERASEBKGND, getChild().OnEraseBkgnd); 
     30HANDLE_MSG (hwnd, WM_FONTCHANGE, getChild().OnFontChange); 
     31HANDLE_MSG (hwnd, WM_GETDLGCODE, getChild().OnGetDlgCode); 
     32HANDLE_MSG (hwnd, WM_GETFONT, getChild().OnGetFont); 
     33HANDLE_MSG (hwnd, WM_GETMINMAXINFO, getChild().OnGetMinMaxInfo); 
     34HANDLE_MSG (hwnd, WM_GETTEXT, getChild().OnGetText); 
     35HANDLE_MSG (hwnd, WM_GETTEXTLENGTH, getChild().OnGetTextLength); 
     36HANDLE_MSG (hwnd, WM_HSCROLL, getChild().OnHScroll); 
     37HANDLE_MSG (hwnd, WM_ICONERASEBKGND, getChild().OnIconEraseBkgnd); 
     38HANDLE_MSG (hwnd, WM_INITDIALOG, getChild().OnInitDialog); 
     39HANDLE_MSG (hwnd, WM_INITMENU, getChild().OnInitMenu); 
     40HANDLE_MSG (hwnd, WM_INITMENUPOPUP, getChild().OnInitMenuPopup); 
     41HANDLE_MSG (hwnd, WM_KILLFOCUS, getChild().OnKillFocus); 
     42HANDLE_MSG (hwnd, WM_MEASUREITEM, getChild().OnMeasureItem); 
     43HANDLE_MSG (hwnd, WM_MENUCHAR, getChild().OnMenuChar); 
     44HANDLE_MSG (hwnd, WM_MENUSELECT, getChild().OnMenuSelect); 
     45HANDLE_MSG (hwnd, WM_MOVE, getChild().OnMove); 
     46HANDLE_MSG (hwnd, WM_NEXTDLGCTL, getChild().OnNextDlgCtl); 
     47HANDLE_MSG (hwnd, WM_PAINT, getChild().OnPaint); 
     48HANDLE_MSG (hwnd, WM_PALETTECHANGED, getChild().OnPaletteChanged); 
     49HANDLE_MSG (hwnd, WM_PALETTEISCHANGING, getChild().OnPaletteIsChanging); 
     50HANDLE_MSG (hwnd, WM_POWER, getChild().OnPower); 
     51HANDLE_MSG (hwnd, WM_QUERYDRAGICON, getChild().OnQueryDragIcon); 
     52HANDLE_MSG (hwnd, WM_QUERYENDSESSION, getChild().OnQueryEndSession); 
     53HANDLE_MSG (hwnd, WM_QUERYNEWPALETTE, getChild().OnQueryNewPalette); 
     54HANDLE_MSG (hwnd, WM_QUERYOPEN, getChild().OnQueryOpen); 
     55HANDLE_MSG (hwnd, WM_QUEUESYNC, getChild().OnQueueSync); 
     56HANDLE_MSG (hwnd, WM_QUIT, getChild().OnQuit); 
     57HANDLE_MSG (hwnd, WM_SETFOCUS, getChild().OnSetFocus); 
     58HANDLE_MSG (hwnd, WM_SETFONT, getChild().OnSetFont); 
     59HANDLE_MSG (hwnd, WM_SETREDRAW, getChild().OnSetRedraw); 
     60HANDLE_MSG (hwnd, WM_SETTEXT, getChild().OnSetText); 
     61HANDLE_MSG (hwnd, WM_SHOWWINDOW, getChild().OnShowWindow); 
     62HANDLE_MSG (hwnd, WM_SIZE, getChild().OnSize); 
     63HANDLE_MSG (hwnd, WM_SPOOLERSTATUS, getChild().OnSpoolerStatus); 
     64HANDLE_MSG (hwnd, WM_SYSCOLORCHANGE, getChild().OnSysColorChange); 
     65HANDLE_MSG (hwnd, WM_SYSCOMMAND, getChild().OnSysCommand); 
     66//HANDLE_MSG (hwnd, WM_SYSTEMERROR, getChild().OnSystemError); 
     67HANDLE_MSG (hwnd, WM_TIMECHANGE, getChild().OnTimeChange); 
     68HANDLE_MSG (hwnd, WM_TIMER, getChild().OnTimer); 
     69HANDLE_MSG (hwnd, WM_VSCROLL, getChild().OnVScroll); 
     70HANDLE_MSG (hwnd, WM_WINDOWPOSCHANGED, getChild().OnWindowPosChanged); 
     71HANDLE_MSG (hwnd, WM_WINDOWPOSCHANGING, getChild().OnWindowPosChanging); 
     72HANDLE_MSG (hwnd, WM_WININICHANGE, getChild().OnWinIniChange); 
     73HANDLE_MSG (hwnd, WM_CHAR, getChild().OnChar); 
     74HANDLE_MSG (hwnd, WM_CHARTOITEM, getChild().OnCharToItem); 
     75HANDLE_MSG (hwnd, WM_DEADCHAR, getChild().OnDeadChar); 
     76//HANDLE_MSG (hwnd, WM_HOTKEY, getChild().OnHotKey); 
     77HANDLE_MSG (hwnd, WM_KEYDOWN, getChild().OnKeyDown); 
     78HANDLE_MSG (hwnd, WM_KEYUP, getChild().OnKeyUp); 
     79HANDLE_MSG (hwnd, WM_SYSCHAR, getChild().OnSysChar); 
     80HANDLE_MSG (hwnd, WM_SYSDEADCHAR, getChild().OnSysDeadChar); 
     81HANDLE_MSG (hwnd, WM_SYSKEYDOWN, getChild().OnSysKeyDown); 
     82HANDLE_MSG (hwnd, WM_SYSKEYUP, getChild().OnSysKeyUp); 
     83HANDLE_MSG (hwnd, WM_VKEYTOITEM, getChild().OnVkeyToItem); 
     84HANDLE_MSG (hwnd, WM_DROPFILES, getChild().OnDropFiles); 
     85HANDLE_MSG (hwnd, WM_LBUTTONDBLCLK, getChild().OnLButtonDblClk); 
     86HANDLE_MSG (hwnd, WM_LBUTTONDOWN, getChild().OnLButtonDown); 
     87HANDLE_MSG (hwnd, WM_LBUTTONUP, getChild().OnLButtonUp); 
     88HANDLE_MSG (hwnd, WM_MBUTTONDBLCLK, getChild().OnMButtonDblclk); 
     89HANDLE_MSG (hwnd, WM_MBUTTONDOWN, getChild().OnMButtonDown); 
     90HANDLE_MSG (hwnd, WM_MBUTTONUP, getChild().OnMButtonUp); 
     91HANDLE_MSG (hwnd, WM_MOUSEACTIVATE, getChild().OnMouseActivate); 
     92HANDLE_MSG (hwnd, WM_MOUSEMOVE, getChild().OnMouseMove); 
     93//HANDLE_MSG (hwnd, WM_MOUSEWHEEL, getChild().OnMouseWheel); 
     94HANDLE_MSG (hwnd, WM_PARENTNOTIFY, getChild().OnParentNotify); 
     95HANDLE_MSG (hwnd, WM_RBUTTONDBLCLK, getChild().OnRButtonDblClk); 
     96HANDLE_MSG (hwnd, WM_RBUTTONDOWN, getChild().OnRButtonDown); 
     97HANDLE_MSG (hwnd, WM_RBUTTONUP, getChild().OnRButtonUp); 
     98HANDLE_MSG (hwnd, WM_SETCURSOR, getChild().OnSetCursor); 
     99HANDLE_MSG (hwnd, WM_ASKCBFORMATNAME, getChild().OnAskCBFormatName); 
     100HANDLE_MSG (hwnd, WM_CHANGECBCHAIN, getChild().OnChangeCBChain); 
     101HANDLE_MSG (hwnd, WM_CLEAR, getChild().OnClear); 
     102HANDLE_MSG (hwnd, WM_COPY, getChild().OnCopy); 
     103HANDLE_MSG (hwnd, WM_CUT, getChild().OnCut); 
     104HANDLE_MSG (hwnd, WM_DESTROYCLIPBOARD, getChild().OnDestroyClipboard); 
     105HANDLE_MSG (hwnd, WM_DRAWCLIPBOARD, getChild().OnDrawClipboard); 
     106HANDLE_MSG (hwnd, WM_HSCROLLCLIPBOARD, getChild().OnHScrollClipboard); 
     107HANDLE_MSG (hwnd, WM_PAINTCLIPBOARD, getChild().OnPaintClipboard); 
     108HANDLE_MSG (hwnd, WM_PASTE, getChild().OnPaste); 
     109HANDLE_MSG (hwnd, WM_RENDERALLFORMATS, getChild().OnRenderAllFormats); 
     110HANDLE_MSG (hwnd, WM_RENDERFORMAT, getChild().OnRenderFormat); 
     111HANDLE_MSG (hwnd, WM_SIZECLIPBOARD, getChild().OnSizeClipboard); 
     112HANDLE_MSG (hwnd, WM_UNDO, getChild().OnUndo); 
     113HANDLE_MSG (hwnd, WM_VSCROLLCLIPBOARD, getChild().OnVScrollClipboard); 
     114HANDLE_MSG (hwnd, WM_MDIACTIVATE, getChild().OnMDIActivate); 
     115HANDLE_MSG (hwnd, WM_MDICASCADE, getChild().OnMDICascade); 
     116HANDLE_MSG (hwnd, WM_MDICREATE, getChild().OnMDICreate); 
     117HANDLE_MSG (hwnd, WM_MDIDESTROY, getChild().OnMDIDestroy); 
     118HANDLE_MSG (hwnd, WM_MDIGETACTIVE, getChild().OnMDIGetActive); 
     119HANDLE_MSG (hwnd, WM_MDIICONARRANGE, getChild().OnMDIIconArrange); 
     120HANDLE_MSG (hwnd, WM_MDIMAXIMIZE, getChild().OnMDIMaximize); 
     121HANDLE_MSG (hwnd, WM_MDINEXT, getChild().OnMDINext); 
     122HANDLE_MSG (hwnd, WM_MDIRESTORE, getChild().OnMDIRestore); 
     123HANDLE_MSG (hwnd, WM_MDISETMENU, getChild().OnMDISetMenu); 
     124HANDLE_MSG (hwnd, WM_MDITILE, getChild().OnMDITile); 
     125HANDLE_MSG (hwnd, WM_NCACTIVATE, getChild().OnNCActivate); 
     126HANDLE_MSG (hwnd, WM_NCCALCSIZE, getChild().OnNCCalcSize); 
     127HANDLE_MSG (hwnd, WM_NCCREATE, getChild().OnNCCreate); 
     128HANDLE_MSG (hwnd, WM_NCDESTROY, getChild().OnNCDestroy); 
     129HANDLE_MSG (hwnd, WM_NCHITTEST, getChild().OnNCHitTest); 
     130HANDLE_MSG (hwnd, WM_NCLBUTTONDBLCLK, getChild().OnNCLButtonDblClk); 
     131HANDLE_MSG (hwnd, WM_NCLBUTTONDOWN, getChild().OnNCLButtonDown); 
     132HANDLE_MSG (hwnd, WM_NCLBUTTONUP, getChild().OnNCLButtonUp); 
     133HANDLE_MSG (hwnd, WM_NCMBUTTONDBLCLK, getChild().OnNCMButtonDblClk); 
     134HANDLE_MSG (hwnd, WM_NCMBUTTONDOWN, getChild().OnNCMButtonDown); 
     135HANDLE_MSG (hwnd, WM_NCMBUTTONUP, getChild().OnNCMButtonUp); 
     136HANDLE_MSG (hwnd, WM_NCMOUSEMOVE, getChild().OnNCMouseMove); 
     137HANDLE_MSG (hwnd, WM_NCPAINT, getChild().OnNCPaint); 
     138HANDLE_MSG (hwnd, WM_NCRBUTTONDBLCLK, getChild().OnNCRButtonDblClk); 
     139HANDLE_MSG (hwnd, WM_NCRBUTTONDOWN, getChild().OnNCRButtonDown); 
     140HANDLE_MSG (hwnd, WM_NCRBUTTONUP, getChild().OnNCRButtonUp); 
  • lang/cplusplus/i3/src/mol/include/mol/windows/Mol.h

    r14345 r14379  
    1313 
    1414#include <windows.h> 
     15#include <windowsx.h> 
    1516#include <commctrl.h> 
    1617#include <process.h> 
  • lang/cplusplus/i3/src/mol/include/mol/windows/MscCrt.h

    r14174 r14379  
    1010namespace msccrt { 
    1111 
     12#ifndef TEXT 
     13#define TEXT(x) L##x 
     14#endif 
     15 
    1216#ifndef _T 
    13 #ifdef TEXT 
    1417#define _T TEXT 
    15 #else 
    16 #define _T(x) L#x 
    17 #endif 
    1818#endif 
    1919 
  • lang/cplusplus/i3/src/mol/include/mol/windows/ThreadCore.h

    r14345 r14379  
    2020public: 
    2121    static DWORD WINAPI ThreadProc(LPVOID object) { 
    22         ThreadCore<Thread>* this_ =  
    23             static_cast<ThreadCore<Thread>*>(object); 
    24  
     22        ThreadCore<Thread>* this_ =  static_cast<ThreadCore<Thread>*>(object); 
    2523        this_->thread.run(); 
    2624        InterlockedExchange(&this_->isExited, 1); 
    2725        return 0; 
    2826    } 
    29     void start() { 
     27    void start() { // not sync 
    3028        DWORD threadId; 
    3129        hThread = CreateThread(NULL, 0, ThreadProc, static_cast<void*>(this),0 , &threadId); 
     
    3331    ThreadCore(Thread& thread) : thread(thread), hThread(0), isExited(0) { 
    3432    } 
    35     void join() { 
     33    void join() { // not sync 
    3634        if (!hThread) { 
    3735            std::cout << "hThread NULL" << std::endl; 
  • lang/cplusplus/i3/windows/Mol.vcproj

    r14356 r14379  
    420420                                </File> 
    421421                                <File 
    422                                         RelativePath="..\src\mol\include\mol\windows\MessageCrackerMacros.h" 
    423                                         > 
    424                                 </File> 
    425                                 <File 
    426422                                        RelativePath="..\src\mol\include\mol\windows\Mol.h" 
    427423                                        >