Image Map of Navigational Panel to Home / Contents / Search And The Winners Are...

Image of line

Last Issue, we ran a competition in conjunction with Neville Franks from Soft As It Gets, to find the solution to the particularly thorny problem of using the TrackPopMenu API to position a popup menu. Our Winner is Ian McCallum of WA. Ian, a copy of Ed for Windows 3.0 is on its way to you. A consolation prize of a copy of the Kick-Back tapes from VBA '93 goes to David Thomas of Hill Country Software, for a VB version without any API calls.

Thanks to all the entrants. We'll have another competition in our next issue.


  ' Use WM_KEYDOWN's to set Menu highlight position
  ' For some unknown reason setting the repeat count in 1Param doesn't work.
  Int ii = 3;                           ' ii is set to highlight position
  while (ii-- > 0 )
  Postmessage ( hWnd, WM_KEYDOWN, VK_DOWN, OL ) ;
  TrackPopupMenu ( hMenu, 0, pt.x, pt.y, 0, hWnd, OL ) ;

Contact: avdf@gui.com.au
June 94

Image of arrow linked to previous page Image of arrow linked to next page
Image of line
[HOME] [TABLE OF CONTENTS] [SEARCH]