Search found 662 matches
- Sat Mar 23, 2024 7:48 am
- Forum: Bugs - Windows
- Topic: [Done] #BS_RIGHTBUTTON wrong value
- Replies: 1
- Views: 232
[Done] #BS_RIGHTBUTTON wrong value
Window only , X86 & X64 #BS_RIGHTBUTTON is declared like this in PB #BS_RIGHTBUTTON = 256 In C/C++ Microsoft declaration is inside WinUser.h file #define BS_LEFTTEXT 0x00000020L #if(WINVER >= 0x0400) #define BS_RIGHTBUTTON BS_LEFTTEXT #endif /* WINVER >= 0x0400 */ Microsoft visual Studio give a...
- Wed Feb 28, 2024 8:00 am
- Forum: Tricks 'n' Tips
- Topic: LIGEnhancements - ListIconGadget with Grouping and TileView
- Replies: 35
- Views: 4162
Re: LIGEnhancements - ListIconGadget with Grouping and TileView
Thanks Denis, I read this. And I think I understand some of what is said there. But this leaves still one serious question to me: Since the extra bytes are placed at the end, they are never used. So, the structure without this should work flawlessly too?! jacdelad, this is a good question. Just a p...
- Thu Feb 22, 2024 5:51 pm
- Forum: Tricks 'n' Tips
- Topic: LIGEnhancements - ListIconGadget with Grouping and TileView
- Replies: 35
- Views: 4162
Re: LIGEnhancements - ListIconGadget with Grouping and TileView
jacdelad, No offence taken. PB doc : The special value #PB_Structure_AlignC can be used to align the structure as it would be done in language C, useful when importing C structures to use with API functions. Instead of using #PB_Structure_AlignC, i do prefer create the structure with the padding. He...
- Thu Feb 22, 2024 4:50 pm
- Forum: Tricks 'n' Tips
- Topic: LIGEnhancements - ListIconGadget with Grouping and TileView
- Replies: 35
- Views: 4162
Re: LIGEnhancements - ListIconGadget with Grouping and TileView
jacdelad, First of all, i refer to structure LVCOLUMNW, W at the end indicates that is unicode one, if the is A, it means Ascci. In C (h file definition), most of the time padding does not appear in definition, compiler do the job, that's why there is no padding. Take a look to LVCOLUMN def from PB ...
- Thu Feb 22, 2024 11:59 am
- Forum: Tricks 'n' Tips
- Topic: LIGEnhancements - ListIconGadget with Grouping and TileView
- Replies: 35
- Views: 4162
Re: LIGEnhancements - ListIconGadget with Grouping and TileView
The code must be corrected : Some structures have to be corrected structure LVITEM corrected x86/64 is here: https://www.purebasic.fr/english/viewtopic.php?p=560935&hilit=structure#p560935 The structure LVCOLUMN supersedes the LV_COLUMN structure (microsoft). LVCOLUMN is Ok on x86 With the PB st...
- Tue Feb 20, 2024 8:01 am
- Forum: Tricks 'n' Tips
- Topic: LIGEnhancements - ListIconGadget with Grouping and TileView
- Replies: 35
- Views: 4162
Re: LIGEnhancements - ListIconGadget with Grouping and TileView
To avoid crash when clicking on the first group's arrow, the ListIcon option "#PB_ListIcon_GridLines" must be removed.
Then all is oK.
Pb manages Gridlines internally (non-standard Gridline), this must be the reason for the crash and poor display of lines.
Then all is oK.
Pb manages Gridlines internally (non-standard Gridline), this must be the reason for the crash and poor display of lines.
- Mon Feb 19, 2024 6:50 pm
- Forum: Tricks 'n' Tips
- Topic: LIGEnhancements - ListIconGadget with Grouping and TileView
- Replies: 35
- Views: 4162
Re: LIGEnhancements - ListIconGadget with Grouping and TileView
Same here as boddhi and Caronte3D
- Thu Feb 15, 2024 11:02 am
- Forum: Tricks 'n' Tips
- Topic: LIGEnhancements - ListIconGadget with Grouping and TileView
- Replies: 35
- Views: 4162
Re: LIGEnhancements - ListIconGadget with Grouping and TileView
Hi jacdelad, I don't know if I'm the only one with a problem with your first code. Windows 11 up to date PB 6.10 beta 10 X64 or x86 ASM or C It doesn't work, i get an error line 12 (The specified gadget is not initialised) : SendMessage_(GadgetID(ID),#LVM_SETEXTENDEDLISTVIEWSTYLE,#LVS_EX_DOUBLEBUFFE...
- Mon Jan 15, 2024 11:54 am
- Forum: Announcement
- Topic: PB-CTypeTable
- Replies: 10
- Views: 2318
Re: PB-CTypeTable
Your tools is useful.
I will take a deeper look but i don't know when
I will take a deeper look but i don't know when
- Mon Jan 15, 2024 11:51 am
- Forum: Assembly and C Programming in PureBasic
- Topic: Struct explanation request
- Replies: 10
- Views: 1515
Re: Struct explanation request
Very interesting discussion for me as I'm really a beginner coder in C. As useful as the language is/was has been it's a pig of language, ridiculously overtyped and casted wrapped up in a ball of utterly useless functionality that only aids the 'nerd' get his thing on to bamboozle the rest of the '...
- Mon Jan 15, 2024 8:06 am
- Forum: Assembly and C Programming in PureBasic
- Topic: Struct explanation request
- Replies: 10
- Views: 1515
Re: Struct explanation request
Very interesting discussion for me as I'm really a beginner coder in C.
- Thu Jan 11, 2024 8:09 am
- Forum: Coding Questions
- Topic: Len of path limit for FileSize() [Resolved]
- Replies: 24
- Views: 2528
Re: Len of path limit for FileSize() [Resolved]
Salut KCC,
Since the subject is interesting, can you create a module and share it?
I get trouble with long Path and not only with PB.
Since the subject is interesting, can you create a module and share it?
I get trouble with long Path and not only with PB.
- Tue Jan 02, 2024 7:40 am
- Forum: Off Topic
- Topic: Happy New Year 2024 !
- Replies: 23
- Views: 2904
Re: Happy New Year 2024 !
Happy New Year to All.
- Thu Dec 28, 2023 8:07 am
- Forum: Tricks 'n' Tips
- Topic: JustBeamIt
- Replies: 10
- Views: 1303
Re: JustBeamIt
infratec, Each zip file created (download) is impossible to open, and WinRar (6.11 64 bit) indicates that the archive is damaged or its format is unknown. I've tried with different files but it's always the same. :cry: :cry: When I use JustBeamIt.com directly without your module, it works and the fi...
- Wed Dec 27, 2023 6:13 am
- Forum: Announcement
- Topic: PB-CTypeTable
- Replies: 10
- Views: 2318
Re: PB-CTypeTable
Thanks mk-soft for clarification!
I only work on Windows (x86-64) with Intel microp, so I didn't specify it.
Here's a link to Microsoft Data Type Ranges :
https://learn.microsoft.com/en-us/cpp/c ... w=msvc-170
Do you have other links for linux , macOS for C types etc.?
I only work on Windows (x86-64) with Intel microp, so I didn't specify it.
Here's a link to Microsoft Data Type Ranges :
https://learn.microsoft.com/en-us/cpp/c ... w=msvc-170
Do you have other links for linux , macOS for C types etc.?