i am deriving an own dialog from CAknDialog in order to get a dialog like the CAknTextQueryDialog but just with a custom menu - so long so good. I managed all the implementation and also screen position and size is equal to the query dialogs, as long as the orientation is in vertical mode.
However if i switch to landscape mode the X position of my custom dialog does not equal the other dialogs X position. My dialog hides the scrollbar of the control behind the dialog (on the 5800) whereas other dialogs obviously somehow include the scrollbar width into their calculation. (my X pos > their X pos).
Can you give me a hint on how to get the width of the scrollbar frame? GetDefaultScrollBarBreadth does not help. Also - as the AKN Dialogs can do it - there seems to be a generic way on how to get such width in order to include it into positioning calculations.
Sigh - hope i could describe my problem in a way that you can understand it.