You are trying to load a bitmap as a ToolBar resource. A toolbar resource looks like:
IDR_MAINFRAME TOOLBAR DISCARDABLE 16, 15
BEGIN
BUTTON ID_FILE_NEW
BUTTON ID_FILE_OPEN
BUTTON ID_FILE_SAVE
SEPARATOR
BUTTON ID_ENTRY_NEW
BUTTON ID_ENTRY_EDIT
BUTTON ID_ENTRY_DELETE
SEPARATOR
BUTTON ID_APP_ABOUT
END
You call LoadToolBar to load this resource, and then call
CToolBar Class : LoadBitmap | Microsoft Learn[
^] to load the matching bitmap. As always you should make use of the documentation to guide you.