| |
|
|
 Michael Wodrich | I have straight attempts with the GridBOX a something umfangreichere scheduler view. The Split can Yes wonderful nachjustieren, if I me with the Pixelbreite verschätzt have (happens really always) - but:
How read I now The new Spaltengrößen from the GridBOX from? becomes it something like How GetColWidth( hGridBox&, slot% ) soon give?
momentarily would me Yes a SendMessage-Version completely suffice.
Best wishes Michael Wodrich |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 05/14/06 ▲ |
|
|
|
|
 RGH | Hi,
there there The Message LVM_GetColumnWidth: w% = SendMessage(hGBox&, ~LVM_GetColumnWidth, ColNr%, 0)
And so can You tappt im dunkeln as an afterthought settle: SendMessage(hGBox&, ~LVM_SetColumnWidth, ColNr%, w%)
so the functions, must You commctrl.ph integrate: $H commctrl.ph
naturally can You too The Messagenummern use: LVM_GetColumnWidth = $1029 LVM_SetColumnWidth = $1030
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 05/14/06 ▲ |
|
|
|
|
 Michael Wodrich | well, there lying I with my Funktionsnamen Yes not at all so wrong... 
thanks
Best wishes Michael Wodrich |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 05/14/06 ▲ |
|
|
|
|
 Michael Wodrich | [quote:2776c065d9]naturally can You too The Messagenummern use: LVM_GetColumnWidth = $1029 LVM_SetColumnWidth = $1030 [/quote:2776c065d9] there be I naturally immediate on it reingefallen...  there but to the hex. $29 The $2A comes, watts I quick fündig.
LVM_FIRST = $1000; { ListView messages } LVM_GETCOLUMNWIDTH = ~LVM_FIRST + 29; the yields $101D LVM_SETCOLUMNWIDTH = ~LVM_FIRST + 30; the yields $101E CompileMarkSeparation
Proc GetColWidth
Parameters hGBox&, ColNr%
Declare ColWidth%
ColWidth% = SendMessage( hGBox&, $101D, ColNr%, 0) LVM_GetColumnWidth = $101D
Return ColWidth%
EndProc
Proc SetColWidth
Parameters hGBox&, ColNr%, ColWidth%
SendMessage( hGBox&, $101E, ColNr%, 0) LVM_SetColumnWidth = $101E
Programmieren, das spannendste Detektivspiel der Welt. | 05/14/06 ▲ | |
|
|
|