Dear PB-World,
Is there a way to create a ExplorerListGadget without a columnbar in the top?
(Columnbar: There is "Name, Size, Date....")
ExplorerListGadget without Columntitlebar
- Hroudtwolf
- Addict

- Posts: 803
- Joined: Sat Feb 12, 2005 3:35 am
- Location: Germany(Hessen)
- Contact:
Can you use the list mode code below, or do you need report mode without header
Code: Select all
If OpenWindow(0,0,0,400,200,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"ExplorerListGadget") And CreateGadgetList(WindowID(0))
ExplorerListGadget(0, 10, 10, 380, 180, "*.*", #PB_Explorer_MultiSelect)
ChangeListIconGadgetDisplay(0, 2)
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIfWhat goes around comes around.
PB 5.21 LTS (x86) - Windows 8.1
PB 5.21 LTS (x86) - Windows 8.1
- Hroudtwolf
- Addict

- Posts: 803
- Joined: Sat Feb 12, 2005 3:35 am
- Location: Germany(Hessen)
- Contact:
Thx...
Yes I need the reportmode of the Explorerlistbox. But without header.
Is there any mysterious API-Constant,like with the other Gadgets ?
Yes I need the reportmode of the Explorerlistbox. But without header.
Is there any mysterious API-Constant,like with the other Gadgets ?
Code: Select all
#WM_MYSTERIOUS_NOHEADERThis does the trick for me.
Code: Select all
#LVM_GETHEADER = #LVM_FIRST + 31
If OpenWindow(0,0,0,600,200,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"ExplorerListGadget") And CreateGadgetList(WindowID(0))
ExplorerListGadget(0, 10, 10, 580, 180, "*.*", #PB_Explorer_MultiSelect)
lvHeader = SendMessage_(GadgetID(0), #LVM_GETHEADER, 0, 0)
SetWindowLong_(lvHeader, #GWL_STYLE, GetWindowLong_(lvHeader, #GWL_STYLE) | #HDS_HIDDEN)
Repeat : Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIfWhat goes around comes around.
PB 5.21 LTS (x86) - Windows 8.1
PB 5.21 LTS (x86) - Windows 8.1
- Hroudtwolf
- Addict

- Posts: 803
- Joined: Sat Feb 12, 2005 3:35 am
- Location: Germany(Hessen)
- Contact:

