Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
DosLib - position of dialogues
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: DosLib - position of dialogues (Read 286 times)
0 Members and 1 Guest are viewing this topic.
Peter2
Swamp Rat
Posts: 653
DosLib - position of dialogues
«
on:
March 11, 2024, 06:38:49 AM »
I know that DosLib has an extra site at GitHub and that it is open source, but ....
I have problems that some dialogues are always displayed in the centre of the screen, and for looping through tons of elements it would be better that the dialogues are (re)displayed on the last used position. I made a suggestion at Github
https://github.com/dalefugier/DOSLib/issues/13
, but until now there is no modification.
Are there some ideas to solve this issue? (I try to avoid to replace the DosLib-Mesageboxes with an Open-DCl dialogue ..)
Thanks and regards
Logged
Peter
AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23
It's Alive!
Retired
Needs a day job
Posts: 8718
AKA Daniel
WWW
Re: DosLib - position of dialogues
«
Reply #1 on:
March 11, 2024, 08:20:48 AM »
Not exactly trivial
CAcUiDialog has built-in tools to store the size and positions
The built in dialogs are harder because there’s no direct method to set their positions.
You must use a hook like
https://stackoverflow.com/questions/1530561/set-location-of-messagebox
this example would need to be expanded to GetWindowRect on close to persist the data.
Logged
https://github.com/CEXT-Dan/PyRx
https://pyarx.blogspot.com/
Peter2
Swamp Rat
Posts: 653
Re: DosLib - position of dialogues
«
Reply #2 on:
March 11, 2024, 09:13:14 AM »
Thanks for the answer,
but this is far beyond my knowledge. For me, I used an Autohotkey-script to watch and move the dialogue, but this can not be used by all my co-workers. So it looks that I have to use OpenDCL...
Logged
Peter
AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
DosLib - position of dialogues