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.