From: winapi on 29 Apr 2010 15:09 Hello, I have been trying the implement the "Creating an Internet Explorer-style Toolbar" tutorial at the link below. . . . . . http://msdn.microsoft.com/en-us/library/bb775452(VS.85).aspx My last post was a bit messy and may have been confusing. I have been able to implement everything a part from the section "Handling Navigation with Menu Hot-Tracking Disabled" I can't seem to work out how to implement the SetWindowsHookEx section into the "MSDN toolbar example" code. Albeit, this does seems to be the tricky part of the code. I have looked around the internet for example, and ones I have found are burried within MFC code. Some folks seem to have asked the same questions as me, and have not had a reply also. Has anyone managed to implement this section for this tutorial? Or does one know of any source code examples? Thanks.
From: Preben Friis on 29 Apr 2010 15:34 "winapi" <apiwin(a)hotmail.com> wrote in message news:hrclhf$7nj$1(a)speranza.aioe.org... > Has anyone managed to implement this section for this tutorial? Or does > one know of > any source code examples? http://www.codeproject.com/KB/menus/menubarxp.aspx It contains all the elements that you need. You just have to port the stuff to pure C if you want to. /Preben Friis
From: Seetharam on 29 Apr 2010 18:26 Spend some time with the MFC samples on codeproject or codeguru... you can easily convert them to Win32 once you understand them HTH Seetharam
From: winapi on 30 Apr 2010 15:37 "Preben Friis" <noone(a)technologist.com> wrote in message news:hrcmva$9ur$1(a)speranza.aioe.org... > "winapi" <apiwin(a)hotmail.com> wrote in message > news:hrclhf$7nj$1(a)speranza.aioe.org... >> Has anyone managed to implement this section for this tutorial? Or does >> one know of >> any source code examples? > > http://www.codeproject.com/KB/menus/menubarxp.aspx > > It contains all the elements that you need. You just have to port the > stuff to pure C if you want to. > > /Preben Friis Thanks for the link, I will check it out.
From: winapi on 1 May 2010 14:46 It seems the MFC implementations are quite hard to convert, even though they are easy to understand within MFC. I didn't have much luck on the conversion and gave up on that avenue. I was able to find some "C" code fragments that were more helpful. I have since managed to get a working version in the WinAPI(plain c). If anyone folks are interested in seeing this example, I will put up a link? Thanks.
|
Pages: 1 Prev: Findreplace Dialog Next: Creating an Internet Explorer-style Toolbar |