Search found 14 matches

by Lite
Fri Jul 26, 2019 10:58 am
Forum: Coding Questions
Topic: ListIconGadget Header with Toggle columns
Replies: 2
Views: 978

Re: ListIconGadget Header with Toggle columns

@RASHAD

YEEEEEEEEEEEAAAAAAASSSSSSSSS, thats is it, thanks

Lite
by Lite
Thu Jul 25, 2019 1:16 pm
Forum: Coding Questions
Topic: ListIconGadget Header with Toggle columns
Replies: 2
Views: 978

ListIconGadget Header with Toggle columns

Hello

Search a solution for toogle columns in a header of listicongadget.
if pressed second column then colored to blue and the other should to red.

Here is my startcode:



#ColoredColumn = 0


Global col=0
#HeaderTextColor = #Blue
#LVM_GETHEADER = #LVM_FIRST + 31

Define DefaultListIconCallback ...
by Lite
Mon Mar 04, 2019 2:19 pm
Forum: Coding Questions
Topic: NtOpenKey
Replies: 3
Views: 1257

Re: NtOpenKey

The successful return value of status = NtOpenKey_ should be null.
In this example, -073741819 comes back.
by Lite
Mon Mar 04, 2019 12:44 pm
Forum: Coding Questions
Topic: NtOpenKey
Replies: 3
Views: 1257

NtOpenKey

Hello

Need help with "NtOpenKey". below is a working au3 code.

Here is my PB code.


#OBJ_CASE_INSENSITIVE = $40
#KEY_READ = $20019

Structure UNICODE_lSTRING
usLength.w
usMaximumLength.w
usBuffer.l
EndStructure

Structure OBJECT_ATTRIBUTES
Length.l
RootDirectory.l
*ObjectName
Attributes ...
by Lite
Thu May 10, 2018 5:42 pm
Forum: Tricks 'n' Tips
Topic: Kiosk System
Replies: 31
Views: 21790

Re: Kiosk System

Thanks it works, but i need a window.
Solution ??

Lite
by Lite
Thu May 10, 2018 1:53 pm
Forum: Tricks 'n' Tips
Topic: Kiosk System
Replies: 31
Views: 21790

Re: Kiosk System

Hello

The code dont work with PB5.60, its hang. SetThreadDesktop_ give a error 170.
PB4.60 work nicely.
How can it solve ?

Lite
by Lite
Thu Mar 09, 2017 8:13 pm
Forum: Coding Questions
Topic: Scintilla If-Else-Endif
Replies: 0
Views: 1546

Scintilla If-Else-Endif

Hello

How works "Else" correct ?

Here is my code:



InitScintilla("Scintilla.dll")


Enumeration 0
#LexerState_Space
#LexerState_Comment
#LexerState_Keyword
#LexerState_FoldKeyword
EndEnumeration

Procedure MakeUTF8Text(text$)
Static buffer.s
buffer = Space(StringByteLength(text ...
by Lite
Mon Oct 19, 2015 4:19 pm
Forum: Windows
Topic: PB 5.40 LTS ReadFile
Replies: 2
Views: 2207

Re: PB 5.40 LTS ReadFile

Hello

Thank your for the replay.

The sourcecode have 15000 lines.

Now found the error. 2 threads access to ReadFile together. I havent use the parameter
#PB_File_SharedRead. without blocked the other thread and come ReadFile-error.
by chance, it is noticed only in V5.40.
Now work great ...
by Lite
Sun Oct 18, 2015 5:08 pm
Forum: Windows
Topic: PB 5.40 LTS ReadFile
Replies: 2
Views: 2207

PB 5.40 LTS ReadFile

Hello

The comand Readfile makes problems with the new Version 5.40 LTS.
OS: Win7 Bit
PB: 5.40 LTS
PBEXE: unicode without debugger
TestFile File$: Ansicode.

File = ReadFile(#PB_Any, File$)

The Problem, ReadFile return Value 0, but it does not everytime.
On 10 starts failed 4. start the same source ...
by Lite
Mon Jul 06, 2015 8:53 pm
Forum: Coding Questions
Topic: Flashing item of window minimized in taskbar [1/2 Resolved]
Replies: 12
Views: 2994

Re: Flashing item of window minimized in taskbar [1/2 Resolv

Hello

A example with winapi.


hwnd = OpenWindow(0,0,0,200,200,"Flash Window",#PB_Window_ScreenCentered|#PB_Window_SystemMenu)

Info.FLASHWINFO
Info\cbSize = SizeOf(FLASHWINFO)
Info\hwnd = hwnd
Info\dwFlags= $7;#FLASHW_ALL
Info\uCount = 0
Info\dwTimeout = 300
FlashWindowEx_(Info)

Repeat ...
by Lite
Mon Jan 12, 2015 4:03 pm
Forum: Coding Questions
Topic: ComboBoxGadget Bug
Replies: 6
Views: 2492

Re: ComboBoxGadget Bug

Thanks for your workarround.

interessting is. the winapi combobox can not create smaller than 22 pixel high.
PureBasic combobox can reduce size smaller than 22 pixel.
after this come the error and your workarround not work.
is highvalue equal and higher 22 pixel it works nicely.

Regards
Lite
by Lite
Sat Jan 10, 2015 10:24 am
Forum: Coding Questions
Topic: ComboBoxGadget Bug
Replies: 6
Views: 2492

ComboBoxGadget Bug

Hello

On Windows XP and Windows 7 come a Error with ComboBox.
Maybe on more Windows, but not tested.
The PureBasic gadget created a large window if not items inside.
it is on "windows xp themes is off".
Winapi Combobox works fine.

Greetings

Lite

example:


Enumeration
#Window
EndEnumeration ...
by Lite
Tue Oct 28, 2014 5:22 pm
Forum: Feature Requests and Wishlists
Topic: Pack - Library
Replies: 0
Views: 1394

Pack - Library

Hello Fred

To extract the files from a problem 7z package that was packed with non "non-solid" is known.
This method is very slow.
My wish is to work around the problem: extract from a file list.
The character ":" could be used as a delimeter.

example:

FileList$ = "test.zip:info.txt:pic.jpg ...
by Lite
Wed Feb 13, 2013 9:14 pm
Forum: Coding Questions
Topic: StartMenu like windows [Resolved]
Replies: 7
Views: 1451

Re: StartMenu like windows [Resolved]

Hello

This example is great.
is it possible iconsize 32*32 and a larger text ?

Lite