View Single Post
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  
AdSense AdSense  
 
Page generated in 0.04757 seconds with 9 queries