GUI library for Windows \ Linux (window9)
Updated library.
Added functions:
Added functions:
Fixed errors when compiling the library. And though they do not affect the operation of the library, all is better without them. Also corrected some logic errors in several functions. For the control (gadget) introduces support for library work on Windows 2000.StatusBarGadget
SetStatusBarField
ToolTipStatusBar
MoveItemTreeView
GetTextTreeView
GetIndexImageTreeView
RenameItemTreeView
ReplaceImageItemTreeView
GetCountItemTreeView
DeleteTreeViewItem
GetItemTreeView
AddTreeViewItem
TreeViewGadget
WebGadget
WebGadgetNavigate
WebGadgetGoForward
WebGadgetGoBack
WebGadgetRefresh
WebGadgetGetURL
WebGadgetState
WebGadgetStop
ScrollBarGadget
GetScrollGadgetRange
SetScrollGadgetRange
GetScrollGadgetPos
SetScrollGadgetPos
SetScrollGadgetPage
SetPageStepScrollBar
GlobalMouseX
GlobalMouseY
AddSysTrayIcon
ReplaceSysTrayIcon
DeleteSysTrayIcon
Here I have described a problem connected to connection interface:
http://www.freebasic.net/forum/viewtopic.php?t=17373
If who knows help please. It would be desirable to complete WebGadget
http://www.freebasic.net/forum/viewtopic.php?t=17373
If who knows help please. It would be desirable to complete WebGadget
The entire library? The foundation was laid by the author antarman here:Rens wrote:Vanya,
Thank you very much for implementing the Scrollbar in such a short time.
Btw:
Where did you get all the info from to make this library? Just being curious.
http://www.freebasic.net/forum/viewtopi ... ight=fbgui
If the question was about ScrollBar, then took the information from MSDN.
Is there a way built in to the library to get text that is highlighted by the mouse?
I mean like when you drag the mouse over something and select it. For copying and pasting.
That kind of thing? I looked through the help file for this but didn't see any thing that looked related.
EDIT:
This works, but only if I right click OUTSIDE the EditorGadget. I think this would be good built in.
I mean like when you drag the mouse over something and select it. For copying and pasting.
That kind of thing? I looked through the help file for this but didn't see any thing that looked related.
EDIT:
Code: Select all
#Include "window9.bi"
#Include "win/richedit.bi"
Dim As Integer event
Dim As CHARRANGE range
Var hwnd=OpenWindow("1",300,10,500,500)
EditorGadget(1,10,10,480,400, "Editor")
Do
event=WaitEvent()
If event=EventClose Then End
If event=EventRBUp Then
SendMessage(GadgetID(1), EM_EXGETSEL, 0, Cast(LPARAM, @range))
? Mid(GetGadgetText(1),range.cpMin+1,range.cpMax)
EndIf
Loop
Code:Imortis wrote:Is there a way built in to the library to get text that is highlighted by the mouse?
I mean like when you drag the mouse over something and select it. For copying and pasting.
That kind of thing? I looked through the help file for this but didn't see any thing that looked related.
EDIT:This works, but only if I right click OUTSIDE the EditorGadget. I think this would be good built in.Code: Select all
#Include "window9.bi" #Include "win/richedit.bi" Dim As Integer event Dim As CHARRANGE range Var hwnd=OpenWindow("1",300,10,500,500) EditorGadget(1,10,10,480,400, "Editor") Do event=WaitEvent() If event=EventClose Then End If event=EventRBUp Then SendMessage(GadgetID(1), EM_EXGETSEL, 0, Cast(LPARAM, @range)) ? Mid(GetGadgetText(1),range.cpMin+1,range.cpMax) EndIf Loop
Code: Select all
#Include "window9.bi"
#Include "win/richedit.bi"
Dim As Integer event
Dim As CHARRANGE range
Var hwnd=OpenWindow("1",300,10,500,500)
EditorGadget(1,10,10,480,400, "Editor")
Do
event=WaitEvent()
If event=EventClose Then End
If event=Eventgadget Then
If EventNumber=1 Then
SendMessage(GadgetID(1), EM_EXGETSEL, 0, Cast(LPARAM, @range))
? Mid(GetGadgetText(1),range.cpMin+1,range.cpMax-range.cpMin)
EndIf
EndIf
Loop
Tool-template FbEdit.
Files TempLate.exe, SnipletAddin.dll and Template the copy folder in the directory .... fbedit\Addins
The file SnipletAddin almost did not change anything, added only run my module with the command line. Run the tool with the F11 key.
Features:
1) Add and edit any piece of code directly in the program
2) re-order them in the ListBox
3) Tip-output package ToolTip when you hover on the bottom EDIT
4) Sending a package FbEdit double-click on the desired item ListBox



http://mneniya.ucoz.ru/FREEBASIC/Public/Template_.zip
http://users.freebasic-portal.de/vanya/ ... plate_.zip
Files TempLate.exe, SnipletAddin.dll and Template the copy folder in the directory .... fbedit\Addins
The file SnipletAddin almost did not change anything, added only run my module with the command line. Run the tool with the F11 key.
Features:
1) Add and edit any piece of code directly in the program
2) re-order them in the ListBox
3) Tip-output package ToolTip when you hover on the bottom EDIT
4) Sending a package FbEdit double-click on the desired item ListBox



http://mneniya.ucoz.ru/FREEBASIC/Public/Template_.zip
http://users.freebasic-portal.de/vanya/ ... plate_.zip
Library updated, added features:
Options for encryption ready taken from this site.
The authors' names written on the HELP, thanks to them!
Changed some functions to improve. For example, the function Load_image can now upload images to the appropriate background
Options for encryption ready taken from this site.
The authors' names written on the HELP, thanks to them!
Changed some functions to improve. For example, the function Load_image can now upload images to the appropriate background
AESEncoder
AESDecoder
Encode64
Decode64
MD5createFileHash
MD5createHash
SHA512create
SHA512createFile
SHA1createFile
SHA1create
SetTransferTextLineEditorGadget
GetSelectTextEditorGadget
SetSelectTextEditorGadget
ClientMDIGadget
MDIGadget
AddKeyboardShortcut
DeleteAllKeyboardShortcut
load_Icon
ContainerGadget
PanelGadget
AddPanelGadgetItem
DeleteItemPanelGadget
PanelGadgetGetCursel
PanelGadgetSetCursel
ASCIITOUTF
UTFTOASCII
I do not quite understand ... If you need a program to create a CHM then, I can recommend: http://www.helpndoc.com/ convenient and simple.Imortis wrote:I am going to try to translate the documentation from the help file into english. It is a lot of text, but I think it is doable. When I am don't I will post a file with all the text. I'm not sure how to make a help file out of it though.