用 CreateToolbarEx This function creates a toolbar window and adds the specified buttons to the toolbar.HWND CreateToolbarEx( HWND hwnd, DWORD ws, UINT wID, int nBitmaps, HINSTANCE hBMInst, UINT wBMID, LPCTBBUTTON lpButtons, int iNumButtons, int dxButton, int dyButton, int dxBitmap, int dyBitmap, UINT uStructSize );lpButtons为TBBUTTON数组,详细参考msdn,肯定可以的,我做过。
CreateToolbarEx
This function creates a toolbar window and adds the specified buttons to the toolbar.HWND CreateToolbarEx(
HWND hwnd,
DWORD ws,
UINT wID,
int nBitmaps,
HINSTANCE hBMInst,
UINT wBMID,
LPCTBBUTTON lpButtons,
int iNumButtons,
int dxButton,
int dyButton,
int dxBitmap,
int dyBitmap,
UINT uStructSize );lpButtons为TBBUTTON数组,详细参考msdn,肯定可以的,我做过。