Progi1984 - Programs & Userlibs

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

It's for PB 4.20 :)
And Don't forget to put the resident in the PureBasic_Dir\Residents
liverol
User
User
Posts: 26
Joined: Sat Jul 14, 2007 3:21 am

Post by liverol »

works now,trying to understand the functions!
:D
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

Ask your questions :)
liverol
User
User
Posts: 26
Joined: Sat Jul 14, 2007 3:21 am

Post by liverol »

yeah,i think there will be a lot... :wink:
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

I must make my tool for generating documentation !!!!!

Please, Go create days with 50hours ! lol
User avatar
Sveinung
Enthusiast
Enthusiast
Posts: 142
Joined: Tue Oct 07, 2003 11:03 am
Location: Bergen, Norway

Post by Sveinung »

Can you please upgrade RPack to support 4.20?
Got the "Unresolved external symbo '_PB_Mid'" error.

Regards
Sveinung Sveen
yrreti
Enthusiast
Enthusiast
Posts: 546
Joined: Tue Oct 31, 2006 4:34 am

Post 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:
fizban
User
User
Posts: 31
Joined: Thu Sep 20, 2007 7:36 am
Location: Spain

Post 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 
liverol
User
User
Posts: 26
Joined: Sat Jul 14, 2007 3:21 am

Post 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!!
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post 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 !
Last edited by Progi1984 on Sun Sep 07, 2008 10:19 pm, edited 1 time in total.
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post 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.
liverol
User
User
Posts: 26
Joined: Sat Jul 14, 2007 3:21 am

Post 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 :)
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post by Progi1984 »

@liverol :
Finally, you want to create the function EditorGadget with modification of a parameter ?
liverol
User
User
Posts: 26
Joined: Sat Jul 14, 2007 3:21 am

Post by liverol »

yeah,i wonder if this is possible?
just change the parameter "#window" to window handle HWND.
User avatar
Progi1984
Addict
Addict
Posts: 806
Joined: Fri Feb 25, 2005 1:01 am
Location: France > Rennes
Contact:

Post 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.
Post Reply