Am 05.01.2011 11:01, schrieb Paul Sokolovsky:
> Hello,
> 
> On Tue, 4 Jan 2011 13:42:51 +0100 (CET)
> Vincent Torri <vto...@univ-evry.fr> wrote:
> 
>>
>>
>> On Tue, 4 Jan 2011, Paul Sokolovsky wrote:
>>
>>> Hello,
>>>
>>> Has anybody stumbled at the implementation of aygshell functions
>>> like SHCreateMenuBar() for pure Win32? Maybe not as a standalone
>>> library, but as part of a project which supports both Win32 and
>>> WinCE. I'd appreciate any hint.
>>
>> The code is not released. But you can try google. I found that:
>>
>> http://wmdevelopers.blogspot.com/2008/05/create-menu-bar-programmatically-wm5.html
> 
> Well, this talks how init menubar programmatically (vs from resource)
> on device, but I'd like to find code which creates something close on
> desktop windows. I did googling, but nothing good, even found
> aygshell.dll mock for HPC devices, but there it still recurses to
> wince-only CommandBar.
> 
> So, I started to look how to implement it. The simplest case, when
> SHCMBF_HMENU is used with SHCreateMenuBar() easy to handle - just
> setting that menu for window/dialog. But normal case is more complex.
> 
> For reference, here's what on find while thinking how it can be
> implemented:
> 
> Toolbars don't natively support adding arbitrary controls, here's
> technique how:
> http://msdn.microsoft.com/en-us/library/bb760446(v=vs.85).aspx#Embedding_Non_Button_Controls_in_Toolbars
> 
> Though it suggests using a Rebar instead.
> 
> Here's an article on creating a menu with toolbar/rebar:
> http://msdn.microsoft.com/en-us/library/bb775450(v=vs.85).aspx
> 
> 

Would love to see some OSS implementation of the CE Menu functions, will be 
usefull for winece (sry, still no repo online ...)

-- 

Best Regards, André Hentschel

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to