Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Gegenteil von LVM_... (https://www.delphipraxis.net/8065-gegenteil-von-lvm_.html)

CalganX 27. Aug 2003 20:58


Gegenteil von LVM_...
 
Hi,
ich aktiviere in einer ListView mit LVM_ENABLEGROUPVIEW das Grouping.
Ich vermute, dass das Gegenteil LVM_DISABLEGROUPVIEW lautet.

Das Problem ist nun, dass ich kein C++ (in keinster Weise derzeit) besitze und damit nicht nachschlagen kann, welchen Wert diese Konstante hat.

Kann mir das einer sagen!?

Chris

PS: Das sollte sich in der commctrl.h befinden.

Assarbad 27. Aug 2003 21:04

Re: Gegenteil von LVM_...
 
Haste denn kein PSDK? C braucht man doch gornich *g*

Code:
Enables or disables whether the items in a list-view control display as a group.

Syntax


To send this message, call the SendMessage function as follows.
lResult = SendMessage(      // returns int in lResult    (HWND) hWndControl,     // handle to destination control    (UINT) LVM_ENABLEGROUPVIEW,     // message ID    (WPARAM) wParam,     // = (WPARAM) (BOOL) fEnable;   (LPARAM) lParam     // = (LPARAM) (LPARAM) lParam; );  
Parameters

fEnable
BOOL that indicates whether to enable a list-view control to group displayed items. Use TRUE to enable grouping, FALSE to disable it.
lParam
Must be NULL.
Return Value
Oki sieht sch**** aus, deshalb nochmal in klaren Worten. Nimm wParam als BOOL und gib den entsprechenden Wert an. ord(True)/ord(False) waren die richtigen Kandidaten ;)

CalganX 27. Aug 2003 21:14

Re: Gegenteil von LVM_...
 
:wall:

Ich geh ins Bett... :cry:

Danke!

Chris


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:51 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz