CreateXMLDialog questions
Posted: Thu Jul 04, 2024 3:53 pm
PureBasic 6.11 LTS (Linux - x64)
1. Is there any way to specify a ParentID without also specifying x, y, width, height?
2. If I specify a ParentID, the dialog seems to be centered in the parent, ignoring the values of x, y, width, height. Is that typical?
3. If I skip optional parameters, is there a way to change the dialog parent window after it is created?
4. I'm launching the dialog in a menu. Is there a way to specify x and y such that the dialog is displayed at the mouse cursor where the window item was clicked?
5. Is there a way to constrain the dialog position so that I can't drag it outside of the parent window?
6. I see that GadgetX, GadgetY can return coordinates in Screen, Window, and Container coordinates. Is there an equivalent for or a way to convert WindowX and WindowY into Screen, Container, or Window coordinates?
1. Is there any way to specify a ParentID without also specifying x, y, width, height?
2. If I specify a ParentID, the dialog seems to be centered in the parent, ignoring the values of x, y, width, height. Is that typical?
3. If I skip optional parameters, is there a way to change the dialog parent window after it is created?
4. I'm launching the dialog in a menu. Is there a way to specify x and y such that the dialog is displayed at the mouse cursor where the window item was clicked?
5. Is there a way to constrain the dialog position so that I can't drag it outside of the parent window?
6. I see that GadgetX, GadgetY can return coordinates in Screen, Window, and Container coordinates. Is there an equivalent for or a way to convert WindowX and WindowY into Screen, Container, or Window coordinates?