Same thing works in WiX, only it's XML so you have to use "&" instead of 
"&".

<Control Id='Next' Type='PushButton' X='320' Y='243' Width='60' Height='18' 
Default='yes'>
        <Text>"&amp;Next</Text>
</Control>

Alt+N would then be the "accelerator" for the "Next" button.


-----Original Message-----
From: Richard [mailto:legal...@xmission.com] 
Sent: Monday, February 23, 2009 11:31 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] update Hotkeys for custom ButtonType


In article <e052e3c40902222144l70b0da07hb4d872443d985...@mail.gmail.com>,
    akash bhatia <911ak...@gmail.com>  writes:

> how can we add hotkeys for our own custom buttons ?

The Text for a PushButton control can have an accelerator designated
by preceding the letter in the text with an &, i.e. &OK has an
accelerator of Alt+O.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to