Page 3 of 4

Re: WinAPI Library (1.108)

Posted: Sun Jul 23, 2017 6:48 pm
by Lunasole
Bisonte wrote:@Lunasole: You can choose your language ;)
I meant code: comments, variable names, etc in deutsch. I didn't used UI at all ^^

Re: WinAPI Library (1.138)

Posted: Sat Aug 12, 2017 4:21 pm
by RSBasic

Re: WinAPI Library (1.138)

Posted: Sun Aug 13, 2017 8:25 am
by HanPBF
This library is really apreciated!
Great You keep it... and up to date!

Thanks a lot!

Re: WinAPI Library (1.138)

Posted: Sun Aug 13, 2017 12:05 pm
by microdevweb
Hello RsBasic,

Thanks for your good work, but i've a question for you. It is possible to change by code the vertical scrollbar of a listicon.

For example, i want add 10 items to the list but i want setting its vertical scrollbar with the max value to 1000 and minimum value to 0. And manage the scrollbar events after of course.

my target is of link a list icon at a database.

But for a faster work of cpu . I don't want display all records.

Thanks for advance.

Re: WinAPI Library (1.138)

Posted: Sun Aug 13, 2017 12:16 pm
by RSBasic
Hello microdevweb,

you can use the ScrollBarGadget for own manage of scroll value. I hope I understand you correctly.

Re: WinAPI Library (1.138)

Posted: Mon Aug 14, 2017 8:05 am
by microdevweb
Hello RSBasic,
Thanks for yours answered, I thought a its soluce, but with this i have to manage also the horizontal scrollbar.

Re: WinAPI Library (1.138)

Posted: Fri May 29, 2020 12:21 pm
by RSBasic
WinAPI Library 1.4.7 was released

Changelog:
  • Bugfix: Updater: Updating via https is now supported.
Updating is not possible due to the new version of the updater. Please download the complete version: https://www.rsbasic.de/download/#Programmierung

Re: WinAPI Library (1.052)

Posted: Fri May 29, 2020 12:50 pm
by BarryG
I love this tool, RSBasic! I just installed it and discovered how to do something that I've needed for years. Thank you.

Re: WinAPI Library (1.163)

Posted: Mon Jun 01, 2020 12:13 am
by RSBasic
WinAPI Library 1.4.8 was published (25 new sample code)

Added:


Benutzer: ButtonGadget: ComboBoxGadget: Datum und Uhrzeit: EditorGadget: ExplorerTreeGadget: Konsole: Laufwerke: ProgressBarGadget: Prozesse: ScrollAreaGadget: Starten und Herunterfahren: StatusBar: StringGadget: TreeGadget: WebGadget:
Online: http://www.rsbasic.de/winapi-library
Offline: Update ;)


All texts have been translated by machine.

Re: WinAPI Library (1.163)

Posted: Mon Jun 01, 2020 12:50 am
by AZJIO
I made a script to convert this to snippet
Templates.prefs.7z (Russian)
added examples "registry" (RegRead2, RegExistsKey, RegExistsName, RegExists)
TextGadget - all styles
AssocQueryString

Laufwerke:
Find the text #FILE_ATTRIBUTE_NORMAL (example to get the disk number)
"Erkennen, ob externer DatentrДger angeschlossen wurde.pb" - "Determine if an external storage medium has been connected" - Find the text #DBT_DEVICEREMOVECOMPLETE in my archive. Example improved
GetVolumeInformation.pb - example contains many flags
Find the text GetLogicalDrives_
"DatentrДger entfernbar-БberprБfen.pb" - in your example, GetDriveType_ iterates over all the letters of the A-Z drives. You must use GetLogicalDrives_ to get mapped drives.

Prozesse:
"Text unter Maus ermitteln.pb" - returns unreadable characters. Find the text "TextFromWindowPosition" in my archive, where I fixed the code.
Fenstertitel ermitteln.pb

Code: Select all

ProcedureReturn PeekS(*Buffer)
FreeMemory(*Buffer) ; Is this possible after calling ProcedureReturn
ListIconGadget:
GroupView.pb - does not work

Code: Select all

; lvg\pszHeader = @text_uc
lvg\pszHeader = @text
------------------
Make the file names English. At the moment, the program cannot view some files, because the program uses Unicode, and the file names are in ANSI. There are problems with the translation, because some letters in the file names are Russian. In us with such a character code have other letters.
You can make a list for yourself to rename files and at any time convert names for yourself. That is, you will have a truly multilingual interface.

------------------
Check out these examples: WM_HSCROLL, WM_NCHITTEST, WM_NOTIFY, WM_SETCURSOR

Gadgets:
Gadgetnummer ermitteln.pb - Find in my archive #WM_SETCURSOR. This reduces the number of lines in the debugger.

Re: WinAPI Library (1.163)

Posted: Mon Jun 01, 2020 2:59 am
by gurj
thanks RSBasic!
Your Menu and Popupmenu's folders and file names are bad. As long as a long time.

In addition, the program conversion code documentation name should be your local ANSI -> Unicode -> user local ANSI is right?

Re: WinAPI Library (1.163)

Posted: Mon Jun 01, 2020 3:05 am
by gurj

Re: WinAPI Library (1.163)

Posted: Mon Jun 01, 2020 6:02 am
by gurj
and, should chang 'Frame3DGadget' to 'FrameGadget'

Re: WinAPI Library (1.163)

Posted: Sat Jun 27, 2020 2:27 am
by BarryG
Just got this today from Windows Defender -> https://i.imgur.com/vXzAPqY.png

A false-positive most likely, so maybe you'll need to submit it to the anti-virus companies for white-listing.

Re: WinAPI Library (1.163)

Posted: Sat Jun 27, 2020 5:07 am
by Josh
Be careful, this site has been victim of an attack before, which resulted in a new operating system for me.