English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 13 August 2008, 03:57   #1
olesio
Registered User
 
Join Date: Apr 2007
Location: Poland
Posts: 337
Center RequestChoice window with CentreQuest

Hey all. Is it possible to center on screen RequestChoice window instead show it on left top?
I tryed CentreQuest from http://aminet.net/util/cdity/CentreQuest.lha and I have following
instructions in my S:startup-sequence. I run directory mounted as HardDrive in WinUAE.
Code:
assign ENV: RAM:
assign T: RAM:
echo ""
echo ""
echo ""
echo ""
echo ""
echo *** THIS HDF WAS MADE BY OLESIO ***
echo [To save game properly - after saving exit game by F10 key.]

CentreQuest CX_PRIORITY=1 AUTOQUIT=NO CENTRE=SCREEN TEST=NO

setenv Choice `RequestChoice "FireForce" "Run trainer?" Yes No`
If $Choice eq "0" 
cd dh0:FIREFORCE 
c:whdload slave=FireForce.slave PRELOAD
EndIf 
If $Choice eq "1" 
execute S:ff_trainer
EndIf
reboot
But this caused cli "freeze". Do not show RequestChoice requester with my question.
So what I doing wrong? Maybe is some other method or RequestChoice replacement
(not for MUI), which allow center requesters window? I placed requested libraries in libs.
I want to prepare nice requester for new WHDLoad slave by Bored Seal which will have
some trainer tooltypes. I hope I didn't tell some Bored Seal secret New slave soon.
Thanks for answer in advice and sorry for my bad english. That's all. Good night
olesio is offline  
Old 13 August 2008, 08:45   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,032
Use

run >nil: CentreQuest ...
thomas is offline  
Old 13 August 2008, 15:58   #3
olesio
Registered User
 
Join Date: Apr 2007
Location: Poland
Posts: 337
Ah that was so simple. Thank you
olesio is offline  
Old 13 August 2008, 16:19   #4
ppill
CON: artist
 
ppill's Avatar
 
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
Since it's a commodity adding DONOTWAIT should work too.

Code:
CentreQuest CX_PRIORITY=1 AUTOQUIT=NO CENTRE=SCREEN TEST=NO DONOTWAIT
You could also switch to reqtools.library using RTPatch. I believe it has a centering option and a host of other nice features.
ppill is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
FS-UAE Game Center FrodeSolheim support.FS-UAE 27 26 August 2013 23:03
Amiga Center France still there?!? JohnFante Amiga scene 6 12 January 2013 08:39
Automatic center problem bagpipes support.WinUAE 2 20 August 2010 13:02
RequestChoice without quit button. olesio support.Apps 6 06 August 2009 23:03
Anyone seen this? Emu Control Center MrX_Cuci project.GameBase Amiga 83 22 July 2008 22:44

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 13:08.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07091 seconds with 15 queries