| |
|
|
E.T. | becomes you kleinsmögliche Window-Size through windows certainly or fit there what in XProfan not .
beget Window 800*600 and let me by %cyCaption the level the Headline Show (with of my dissolution 22 px.): CompileMarkSeparation now Ändere I The Fenstergröße by CompileMarkSeparation and sustain by @Height(%HWnd,1) 38 , even if I instead of %cyCaption 25 angebe, Better get going not small as The (ominösen?) 38... ...somewhere must these number still since come
background: i want of my Window in a corner (or elsewhere) one Mini-Window having, which for D&D susceptible is, but should not too much disturbing |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 12/26/14 ▲ |
|
|
|
|
| E.T. (26.12.14)
becomes you kleinsmögliche Window-Size through windows certainly or fit there what in XProfan not .
The becomes first of all in the wproc certainly [...] The against comes first of all of XProfan or one sound a Own one.
The 38 is faith I ever a sysprop adjustable with display->Schema->Erweitert (or so similar).
with Windows with Headline can y vlt. not small as The Headline his, one Windowstyle 80 Window against can imho too 0x0 his. |
|
|
| |
|
|
|
Georg Teles | means Windows To windows & of Style To Style (Window The of these windows Styles / Unterstilen tributary are) go The Borders the Window Yes yet berücksichtigt
Something like is me Schonmal noticed, that with XP zB to with Create begot Objects the window "früher abschneidet" as with 8
with XP given / there these .msstyles Files, everybody can with ResHacker zb. Edit can, under the Ressourcennamen TEXTFILE or however of Author benannt, any INIs the individual Unterstile to find, where colours sizes bspw. definiert are --- with 7 & 8 have I no idea
d.h. if one window 0,0-800,600 created, are The Außenmaße 800 * 600, The Fensterfläche is means less The Borders or. less The Titelleiste supra
How one now whom edge the current Stils read can, have I no idea ( I bet for there inquire in windows with its Help one any Metrics read can ) |
|
|
| |
|
|
|
HofK | Georg Teles (30.12.14)
( I bet for there inquire in windows with its Help one any Metrics read can )
... the should GetSystemMetrics( index ) his
moreover there two pages with the Indizes The index SM_CYCAPTION ought to the level the normalen Titelleiste his.
in the own system kan one with regedit look. so ist' s by me in Win 8.1 (equipment)
with XProfan kan one quick look as accurate looks: __________________________________ $H windows.ph
' from the windows.ph in XProfan/be copies: '----------------------------------- ' SM_CXSCREEN = 0; ' SM_CYSCREEN = 1; ' SM_CXVSCROLL = 2; ' SM_CYHSCROLL = 3; ' SM_CYCAPTION = 4; ' SM_CXBORDER = 5; ' SM_CYBORDER = 6; ' SM_CXDLGFRAME = 7; ' SM_CYDLGFRAME = 8; ' SM_CYVTHUMB = 9; ' SM_CXHTHUMB = 10; ' SM_CXICON = 11; ' SM_CYICON = 12; ' SM_CXCURSOR = 13; ' SM_CYCURSOR = 14; ' SM_CYMENU = 15; ' SM_CXFULLSCREEN = 16; (by me standing there identical $10) ' SM_CYFULLSCREEN = 17; ' SM_CYKANJIWINDOW = 18; ' SM_MOUSEPRESENT = 19; ' SM_CYVSCROLL = 20; ' SM_CXHSCROLL = 21; ' an so on ... '----------------------------------
windowtitle "Sysmetric" windowstyle 24 window 25,25 - 500,800
whileloop 0,21 drawtext 10,20*&loop, ~GetSystemMetrics( &loop ) endwhile
waitinput ____________________________________________ |
|
|
| |
|
|
|
Georg Teles | OK means CompileMarkSeparation To SM_CYCAPTION (Win8: 23 Px) must the normal vertikale edge SM_CYFRAME (8 Px) moreover add go, so The right Höhe the Titelleiste rauskommt (31 Px), can the someone yet confirm?
EDIT: Kleinstmögliche wide gives SM_CXMIN on (28) - The minimum width of a window, in pixels. |
|
|
| |
|
|
|
E.T. | Hm, by me is a Window 800x600 too outside very so big: CompileMarkSeparation $H Windows.ph
WindowStyle 4+8+512
Window 800,600
print "Minimale Breite lt. System:",~GetSystemMetrics(28)
print "Minimale Höhe lt. System:",~GetSystemMetrics(29)
print "*************************************************************************"
print "--------------XProfan-Werte:"
print "Fenster-Größe AUSSEN lt. XProfan:",Width(%HWnd,1),"x",height(%HWnd,1)
print "Fenster-Größe INNEN lt. XProfan:",Width(%HWnd,0),"x",height(%HWnd,0)
print "Höhe Titelzeile lt. XProfan:",%cyCaption
print "Höhe Menü lt. XProfan:",%cyMenu
print "Rahmen oben und unten lt. XProfan:", "???"
print "Rahmen links und rechst lt. XProfan:", "???"
print "--------------System-Werte:"
print "Rahmen unten und oben lt. System:",~GetSystemMetrics(33)
print "Rahmen links und rechts lt. System:",~GetSystemMetrics(32)
print "Höhe Titelzeile lt. System:",~GetSystemMetrics(4)
print "Höhe Menü lt. System:",~GetSystemMetrics(15)
print "--------------Gerechnet:"
print " (Rahmen oben + Titel + Menü + innere Höhe(XProfan) + Rahmen)"
print "Fenster-Höhe lt. System + XProfan:",~GetSystemMetrics(33)+~GetSystemMetrics(4)+~GetSystemMetrics(15)+height(%HWnd,0)+~GetSystemMetrics(33)
Waitinput
end
means is my ominöse "38" of system as smallest Window-Höhe pretended, naja, must I hold life so or me what other dreamup...
Georg Teles (07.01.15)
To SM_CYCAPTION (Win8: 23 Px) must the normal vertikale edge SM_CYFRAME (8 Px) moreover add go, so The right Höhe the Titelleiste rauskommt (31 Px), can the someone yet confirm?
can I so not confirm. i think, whom vertikalen edge moreover To add, around the Höhe To get, can't integrally fit. be but strain To rotten to that think to that closing-time |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 01/07/15 ▲ |
|
|
|
|
HofK | small consolation: my smallest Window-Höhe with Win8.1 is 47
have but too with the Programming of my CPU Simulation vigorously in the Registry rumgespielt and at testing notice, that The statement the Fensters, the Controls between Windows XP, 7, 8.1 not konsistent is.
particularly The GridBOX was heavy abweichend what about me have letztendlich on 7, 8.1 optimiert.
my Registry Settings are not any more the Urzustand, habs but not note. |
|
|
| |
|
|
|
| therefore indeed something like here: [...]
or one created one Window with Style 80 { | 512 }
there has one then The filled control above what showing should and can also Headline etc. self draw. |
|
|
| |
|
|