Code: Select all
C:\FreeBasic\FireFly_350\Projects\Project1\release\CODEGEN_FIBU_FRMBASE_FORM.inc(305) error 7: Expected ')' in 'TabCtrl_AdjustRect (FLY_pNotify->hWndFrom, 0, VarPtr(FLY_Rect))'
Code: Select all
C:\FreeBasic\FireFly_350\Projects\Project1\release\CODEGEN_FIBU_FRMBASE_FORM.inc(305) error 7: Expected ')' in 'TabCtrl_AdjustRect (FLY_pNotify->hWndFrom, 0, VarPtr(FLY_Rect))'
Hi Drago,Drago wrote:There is an Error in TabControl Resize Code generation.Code: Select all
C:\FreeBasic\FireFly_350\Projects\Project1\release\CODEGEN_FIBU_FRMBASE_FORM.inc(305) error 7: Expected ')' in 'TabCtrl_AdjustRect (FLY_pNotify->hWndFrom, 0, VarPtr(FLY_Rect))'
Thanks fxm,fxm wrote:This specific link that you provided (http://www.freebasiccompiler.com/files/) points now to the old versions.PaulSquires wrote:Hi fxm,
I uploaded the files into a standard zip archive. You just need to be sure to preserve the folder structure when you unzip the contents.
Here is the link (1.82 megs): http://www.freebasiccompiler.com/files/ ... ebasic.zip
Good luck!
Can you update this, or put a dedicated link at your home page to the new standard zip archive?
Thanks PaulSquires,PaulSquires wrote:I have setup a redirect on that url to take you to the planetsquires webpage. I have removed those old files as well.
I will eventually let the freebasiccompiler.com domain name expire.
Code: Select all
Function FRMMAIN_WM_CREATE ( _
hWndForm As hWnd, _ ' handle of Form
ByVal UserData As Integer _ ' optional user defined value
) As Integer
FF_ListView_InsertColumn( HWND_FRMMAIN_LTVMARKET, 0, "商品", LVCFMT_LEFT, 120)
FF_ListView_InsertColumn( HWND_FRMMAIN_LTVMARKET, 1, "Goods", LVCFMT_LEFT, 120)
FF_TreeView_InsertItem( HWND_FRMMAIN_TREEVIEW1, 0, "Goods_商品", 0, 0, 0 )
FF_Control_SetText( HWND_FRMMAIN_CMDBUY, "商品" )
FF_Control_SetText( HWND_FRMMAIN_CMDSALE, "商品_A")
End Function
Maybe someday I will open up the code but not right now. It is written in PowerBasic, not Freebasic so it would take a long time to port the enormous amount of code over to FB. The code has evolved over the course of the last 5 or 6 years and has already been completely rewritten twice. Writing the internal code editor from scratch was a lot of work (well, easy until I got to the code folding part). :-)DMFNR wrote:This is a question for Paul, and it might have been asked earlier in the thread, but I don't have the time at the moment to read through all 15 pages, but have you given any thought to opening up your code and releasing this project under a FLOSS license? I realize you have the Power Basic version of your tool for sale, so you're probably concerned about someone porting it back to PB and killing your market, but on the other hand, it has to be a ton of work stabilizing and maintaining a project like this on your own, and I'm sure the Free Basic community would love to lend a hand to you in the development of this project.
Code: Select all
#FireFly_Custom_Control#
[Control]
controlname = FireTextBox
description = FireTextBox (Custom TextBox replacement)
author = PlanetSquires Software
copyright = PlanetSquires Software (c) 2009
version = 1.00
dll_filename = FireTextBox.dll
dll_required = 0
source_filename = FireTextBox.inc
toolbox_bitmap = N_Fire_Text.bmp
toolbox_cursor = C_Fire_Text.cur
toolbox_tooltip = FireTextBox (Custom TextBox replacement)
delimiter = |
uniqueid = {5D834536-1276-7999-766C-398746547920}
use_loadlibrary = 0
use_initialize_action = 0
initialize_action_designer =
initialize_action_code =
create_action = FIRETEXTBOX.DLL|FIRETEXTBOX|FIRETEXTBOX|BYVAL LONG //CTRL_PARENT//|BYVAL LONG //CTRL_ID//|BYVAL LONG //CTRL_LEFT//|BYVAL LONG //CTRL_TOP//|BYVAL LONG //CTRL_WIDTH//|BYVAL LONG //CTRL_HEIGHT//|BYVAL LONG //CTRL_STYLE//|BYVAL LONG //CTRL_EXSTYLE//
[Property]
name = name|(Name)
curvalue = FireTextBox
itemtype = Edit|1
[Property]
name = windowstyles|(WindowStyles)
curvalue =
itemtype = Styles
[Property]
name = about|About
curvalue =
itemtype = About
[Property]
name = custom|(Custom)
curvalue =
itemtype = Custom
[Property]
name = designstyle|DesignStyle
curvalue = 0 - Traditional
itemtype = Combo
cmbitems = 0 - Traditional|1 - Modern
equates = 0|1
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3084|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Set whether to use traditional textbox style or more modern style.
[Property]
name = backcolor|BackColor
curvalue = QB,16777215
itemtype = Color
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3077|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Set the background color of the control when it does not have focus.
[Property]
name = backhotcolor|BackHotColor
curvalue = QB,16777215
itemtype = Color
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3082|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Set the background color of the control when it gains focus.
[Property]
name = controlindex|ControlIndex
curvalue = 0
itemtype = Edit|1
[Property]
name = font|Font
curvalue = Tahoma,-11,0,0,0,400,0,0,0,0,0,0,0,0
itemtype = Font
[Property]
name = height|Height
curvalue =
itemtype = Edit|1
[Property]
name = locked|Locked
curvalue = False
itemtype = Combo
cmbitems = False|True
equates = False|True
[Property]
name = left|Left
curvalue =
itemtype = Edit|1
[Property]
name = leftmargin|LeftMargin
curvalue = 0
itemtype = Edit|1
[Property]
name = linehotcolor|LineHotColor
curvalue = QB,8388608
itemtype = Color
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3075|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Set the line color when the control gains keyboard focus. Modern style only.
[Property]
name = linenormalcolor|LineNormalColor
curvalue = QB,8421504
itemtype = Color
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3076|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Set the line color when the control loses keyboard focus. Modern style only.
[Property]
name = readonly|ReadOnly
curvalue = 0 - False
itemtype = Combo
cmbitems = 0 - False|1 - True
equates = 0|1
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3083|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Set whether the edit control accepts input.
[Property]
name = resizerules|ResizeRules
curvalue = 0
itemtype = ResizeRules
[Property]
name = rightmargin|RightMargin
curvalue = 0
itemtype = Edit|1
[Property]
name = rightaligntext|RightAlignText
curvalue = 0 - False
itemtype = Combo
cmbitems = 0 - False|1 - True
equates = 0|1
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3085|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Aligns text to the right edge of the control. Useful for numeric data input.
[Property]
name = seltext|SelText
curvalue = 0 - False
itemtype = Combo
cmbitems = 0 - False|1 - True
equates = 0|1
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3078|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Selects the text in the edit control when the control gains focus.
[Property]
name = showselector|ShowSelector
curvalue = 0 - False
itemtype = Combo
cmbitems = 0 - False|1 - True
equates = 0|1
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3080|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Set whether the popup selector icon should shown. Modern style only.
[Property]
name = showtriangle|ShowTriangle
curvalue = 1 - True
itemtype = Combo
cmbitems = 0 - False|1 - True
equates = 0|1
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3079|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Set whether the left hand side triangle will be shown when the control gains focus. Modern style only.
[Property]
name = tag|Tag
curvalue =
itemtype = Edit|1
[Property]
name = tag2|Tag2
curvalue =
itemtype = Edit|1
[Property]
name = text|Text
curvalue = FireTextBox
itemtype = Edit|1
[Property]
name = textcolor|TextColor
curvalue = QB,8388608
itemtype = Color
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3072|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Set the text color when the control is enabled.
[Property]
name = texthotcolor|TextHotColor
curvalue = QB,8388608
itemtype = Color
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3073|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Set the text color when the control gains keyboard focus.
[Property]
name = textdisablecolor|TextDisableColor
curvalue = QB,8421504
itemtype = Color
prop_action = USER32.DLL|SendMessage|SendMessageA|BYVAL LONG //CTRL_HWND//|BYVAL LONG 3074|BYVAL LONG //PROP_VALUE//|BYVAL LONG 1
prop_describe = Set the text color when the control is disabled.
[Property]
name = top|Top
curvalue =
itemtype = Edit|1
[Property]
name = width|Width
curvalue =
itemtype = Edit|1
[Message]
name = FIRETEXTBOX_MSG_CHANGE
declare = (ControlIndex As Long, hWndForm As Dword, hWndControl As Dword, idTextControl As Long) As Long
call = Fly_nResult = //MESSAGE// (Fly_ControlIndex, hWndForm, @Fly_pNotify.hwndFrom, @Fly_pNotify.idFrom)
notification = Notify_Notification
default = True
[Message]
name = FIRETEXTBOX_MSG_SETFOCUS
declare = (ControlIndex As Long, hWndForm As Dword, hWndControl As Dword, idTextControl As Long) As Long
call = Fly_nResult = //MESSAGE// (Fly_ControlIndex, hWndForm, @Fly_pNotify.hwndFrom, @Fly_pNotify.idFrom)
notification = Notify_Notification
[Message]
name = FIRETEXTBOX_MSG_KEYPRESS
declare = (ControlIndex As Long, hWndForm As Dword, hWndControl As Dword, idTextControl As Long, pKeyPressNotify As Dword) As Long
call = Fly_nResult = //MESSAGE// (Fly_ControlIndex, hWndForm, @Fly_pNotify.hwndFrom, @Fly_pNotify.idFrom, Fly_pNotify)
notification = Notify_Notification
[Message]
name = FIRETEXTBOX_MSG_KILLFOCUS
declare = (ControlIndex As Long, hWndForm As Dword, hWndControl As Dword, idTextControl As Long) As Long
call = Fly_nResult = //MESSAGE// (Fly_ControlIndex, hWndForm, @Fly_pNotify.hwndFrom, @Fly_pNotify.idFrom)
notification = Notify_Notification
[Message]
name = FIRETEXTBOX_MSG_CLICKED
declare = (ControlIndex As Long, hWndForm As Dword, hWndControl As Dword, idTextControl As Long) As Long
call = Fly_nResult = //MESSAGE// (Fly_ControlIndex, hWndForm, @Fly_pNotify.hwndFrom, @Fly_pNotify.idFrom)
notification = Notify_Notification
[Message]
name = CUSTOM