Skip to main content
gamedev.net
🔒 Locked

GUI again

Started by Beren77 0 replies 200+ views
Original Post
Beren77
Beren77
Hi, I just tried to display a customizable toolbar (without MFC) in Windows. Toolbar itself displays correctly, but as soon as I hit it with a double-click, the "edit toolbar window" opens and closes directly. Why? I process the WM_NOTIFY message in my callback function, and the messages TBN_QUERYINSERT and TBN_QUERYDELETE are passed (I process them and return true). However, I never get a TBN_GETBUTTONINFO message. Why? Any ideas are very welcome. Thanks in advance!! Beren
Beren77
Beren77
No ideas? Pity. I just copied the msdn example and compiled it, and what do I tell you: Just the same happens! A double-click on the toolbar opens the edit-window but closes it immediately. I don''t get it. Oh: The example, I am talking about is "toolbar1" ("http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/samples/toolbar/toolbar1/toolbar1.asp")

btw: how do I activate that link? (I confess: I only read the FAQ and did not look for further references on links )

Beren

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.