diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-07-17 23:34:51 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-07-17 23:34:51 +0300 |
commit | 0c99b116f722a4609c29a4fbda986cd1e2c6790a (patch) | |
tree | 15fe0c83f5bcd81b4036c097b24b85666d8f3930 /ui.cpp | |
parent | d9a35471323e0d41b6a0cb80e543214bfc297e5f (diff) |
modified: commonheaders.h
modified: init.cpp
new file: m_msg_buttonsbar.h
modified: ui.cpp
Diffstat (limited to 'ui.cpp')
-rw-r--r-- | ui.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -18,11 +18,12 @@ int CreateButtons() { -/* CustomButtonData button; - button.bIMButton = TRUE; + BBButton button = {0}; + button.cbSize = sizeof(button); button.pszModuleName = szModuleName; - button.ptszTooltip = _T("Test button"); - CB_AddButton(0, (LPARAM)&button); - CB_InitCustomButtons();*/ + button.pszTooltip = "Test button"; + button.bbbFlags = BBBF_ISPUSHBUTTON |BBBF_ISIMBUTTON; + button.dwDefPos = 100; + CallService(MS_BB_ADDBUTTON, 0, (WPARAM)&button); return 0; }
\ No newline at end of file |