delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/03/17:04:22

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "jansb000" <jansb000 AT wxs DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Question: Allegro menu
Date: Thu, 3 Jan 2002 22:59:13 +0100
Organization: Planet Internet
Lines: 10
Message-ID: <a12jrp$ad0$1@reader05.wxs.nl>
NNTP-Posting-Host: ipc3797b08.dial.wxs.nl
X-Trace: reader05.wxs.nl 1010094777 10656 195.121.123.8 (3 Jan 2002 21:52:57 GMT)
X-Complaints-To: abuse AT planet DOT nl
NNTP-Posting-Date: 3 Jan 2002 21:52:57 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have a program that can currently be controlled by keys only. Now I want
to add the possibility of using the mouse and menu-bar. It seems however
that with do_dialog(d_menu_proc, .....) control goes completely to the menu,
with no processor time left for my application.

How can I simply add menu functionality to my existing program?
(I could define the part below the menu-bar as a d_box_proc but I doubt if
this is the best way to go.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019