English
Forum

GridBOX

 

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  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

839 Views

Untitledvor 0 min.
Uwe Lang06/19/23
Langer12/30/20
Jörg Sellmeyer06/22/20
rquindt04/29/18
More...

Themeninformationen

this Topic has 2 subscriber:

Michael Wodrich (3x)
RGH (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie