Hi,
I'm a new member. I'm from Holland and recently became interested in studying the Geos SDK. Ulrich pointed me to this forum on the Geos-Talk mailinglist and assured me it's ok to write in English language. Leider ist meine Kenntnisse der deutschen Sprache nicht ausreichend
To teach myself the Geos SDK, I'm writing a small glorified "Hello World" app.
I'm having a small issue, I'm sure I'm overlooking something obvious, perhaps someone could help me with it:
My app should be displayed in a fixed size dialog, in my case there really is no need for resizing. Should be easy, but somehow my efforts failed every time.
I have a simple object that inherits from GenPrimaryClass. Here I tried specifying HINT_FIXED_SIZE and/or HINT_INITIAL_SIZE hints as documented in the docs, for example
(HINT_FIXED_SIZE = {SST_PIXELS | 300, SST_PIXELS | 300, 0};
But these hints seem to be ignored, when starting the application takes the majority of the screen (I have BBE running in 800x600 resolution)
I can hardly imagine my UI (Motif) would not implement those hints, right?
Right now the Primary Class is composed of only an object that inherits from the GenViewClass. Its docbounds are hardcoded (GVI_docBounds = {0, 0, 300, 300}. Also the GVI_horizAttrs and GVI_vertAttrs both have GVDA_NO_LARGER_THAN_CONTANT and GVDA_NO_SMALLER_THAN_CONTENT set in order to never show scrollbars.
What am I missing and/or doing wrong?
å
If more code is required I will gladly post it.
Thanks for your help!
Best regards, Vincent