Page 5 of 6

Posted: Tue Jul 08, 2008 7:34 am
by Progi1984
It's for PB 4.20 :)
And Don't forget to put the resident in the PureBasic_Dir\Residents

Posted: Tue Jul 08, 2008 11:57 am
by liverol
works now,trying to understand the functions!
:D

Posted: Tue Jul 08, 2008 12:46 pm
by Progi1984
Ask your questions :)

Posted: Tue Jul 08, 2008 1:57 pm
by liverol
yeah,i think there will be a lot... :wink:

Posted: Tue Jul 08, 2008 2:29 pm
by Progi1984
I must make my tool for generating documentation !!!!!

Please, Go create days with 50hours ! lol

Posted: Wed Aug 13, 2008 2:28 pm
by Sveinung
Can you please upgrade RPack to support 4.20?
Got the "Unresolved external symbo '_PB_Mid'" error.

Regards
Sveinung Sveen

Posted: Thu Aug 14, 2008 12:26 pm
by yrreti
Please, Go create days with 50hours ! lol
Are you kidding!
They'd probably expect us to work all those hours too.

Maybe just the week end hours. :lol: :lol:

Posted: Fri Aug 22, 2008 3:44 pm
by fizban
I'm having problems with RTF when compiling with Unicode support. The following code works in Ascii but not in Unicode:

Code: Select all

EnableExplicit
Define *memid,text.s,length.l

If OpenWindow(0, 0, 0, 322, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) And CreateGadgetList(WindowID(0)) 
    EditorGadget(0, 8, 8, 306, 133) 
    
    text="\par La cigüeña tocaba el \b saxofón \b0 detrás del palenque de paja."
    
    Editor_RTF_InsertRTFCode(0,text)
    Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow 
EndIf 

Posted: Fri Sep 05, 2008 4:41 am
by liverol
hi there,Progi1984,long time no see!! :D
just tell you my work goes well and next i will use
the editor gadget to write a script editor!! thanks for your
hard work again and a request here :)

i wonder if you can offer a function EditorGadget(HWND,...)
because i want to use the function directly to window of my own,
actually i don't plan to use pb to write my graphic core,so i just use
pb to write a editor DLL,and using the dll to my own graphic window,
i think this is possible,so i hope you can add one function(or modify),
appreciate!!

Posted: Sun Sep 07, 2008 7:28 pm
by Progi1984
fizban wrote:I'm having problems with RTF when compiling with Unicode support. The following code works in Ascii but not in Unicode:

Code: Select all

EnableExplicit
Define *memid,text.s,length.l

If OpenWindow(0, 0, 0, 322, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) And CreateGadgetList(WindowID(0)) 
    EditorGadget(0, 8, 8, 306, 133) 
    
    text="\par La cigüeña tocaba el \b saxofón \b0 detrás del palenque de paja."
    
    Editor_RTF_InsertRTFCode(0,text)
    Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow 
EndIf 
I work on the problem !
[EDIT] Fixed !
liverol wrote:hi there,Progi1984,long time no see!! :D
just tell you my work goes well and next i will use
the editor gadget to write a script editor!! thanks for your
hard work again and a request here :)

i wonder if you can offer a function EditorGadget(HWND,...)
because i want to use the function directly to window of my own,
actually i don't plan to use pb to write my graphic core,so i just use
pb to write a editor DLL,and using the dll to my own graphic window,
i think this is possible,so i hope you can add one function(or modify),
appreciate!!
Can you explain more what you want ? Because I don't understand ! Thanks !

Posted: Sun Sep 07, 2008 7:28 pm
by Progi1984
Release of September 2008 :

RPack.zip
Image
Size: 74Ko

Code: Select all

Update for PB 4.20.
RLibPlus.zip
Image
Size : 360Ko

Code: Select all

The old name for this userlib is LibEditorPlus. This userlib has been upgraded et is applied in others gadgets.

Code: Select all

Changelog : 0.1.2 : FIXED : Editor : Editor_RTF_InsertRTFCode in Unicode
DB_SQLite_0.3.zip
Image
Size: 231Ko

Code: Select all

Release with SQLite 3.6.0.
GoogleCode : RWrappers

Code: Select all

Collection of all RWrappers.

Posted: Tue Sep 09, 2008 1:46 am
by liverol
yeah,sorry i didn't make it clear!
actually it's easy:
PB is using a number (or by #PB_any)to identify a natively window. right now your gadget is using EditorGadget(#window number,....) to attach the gadget to the PB window,but it's not what i need,because i don't want to use your gadget in PB,but in another language,so i have to use PB to write a editor Dll,however,the function editorGadget()only support using a #window number as parameter,i can't use this in another App,i wonder if you can add a new function EditorGadget(Window HWND,...),so i can pass my App window HWND(In pb we can get by windowID(#number) ) as parameter to the function (to attach the gadget to my App window directly). Am i clear? if not,i will give you more details :)

Posted: Tue Sep 09, 2008 8:18 am
by Progi1984
@liverol :
Finally, you want to create the function EditorGadget with modification of a parameter ?

Posted: Thu Sep 11, 2008 1:22 am
by liverol
yeah,i wonder if this is possible?
just change the parameter "#window" to window handle HWND.

Posted: Thu Sep 11, 2008 7:53 am
by Progi1984
liverol wrote:yeah,i wonder if this is possible?
just change the parameter "#window" to window handle HWND.
I think it is possible but this function can't be integrate in another pb code because it won't manage the pb identifiant.