It is currently Wed Jun 19, 2013 2:28 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 88 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject:
PostPosted: Tue Jul 08, 2008 7:34 am 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
It's for PB 4.20 :)
And Don't forget to put the resident in the PureBasic_Dir\Residents


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 08, 2008 11:57 am 
Offline
User
User

Joined: Sat Jul 14, 2007 3:21 am
Posts: 26
works now,trying to understand the functions!
:D


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 08, 2008 12:46 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
Ask your questions :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 08, 2008 1:57 pm 
Offline
User
User

Joined: Sat Jul 14, 2007 3:21 am
Posts: 26
yeah,i think there will be a lot... :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 08, 2008 2:29 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
I must make my tool for generating documentation !!!!!

Please, Go create days with 50hours ! lol


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 13, 2008 2:28 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Oct 07, 2003 11:03 am
Posts: 119
Location: Bergen, Norway
Can you please upgrade RPack to support 4.20?
Got the "Unresolved external symbo '_PB_Mid'" error.

Regards
Sveinung Sveen


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 14, 2008 12:26 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Oct 31, 2006 4:34 am
Posts: 429
Quote:
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:


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 22, 2008 3:44 pm 
Offline
User
User

Joined: Thu Sep 20, 2007 7:36 am
Posts: 25
Location: Spain
I'm having problems with RTF when compiling with Unicode support. The following code works in Ascii but not in Unicode:

Code:
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 4:41 am 
Offline
User
User

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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 07, 2008 7:28 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
fizban wrote:
I'm having problems with RTF when compiling with Unicode support. The following code works in Ascii but not in Unicode:

Code:
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.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 07, 2008 7:28 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
Release of September 2008 :

RPack.zip
Image
Size: 74Ko
Code:
Update for PB 4.20.


RLibPlus.zip
Image
Size : 360Ko
Code:
The old name for this userlib is LibEditorPlus. This userlib has been upgraded et is applied in others gadgets.

Code:
Changelog : 0.1.2 : FIXED : Editor : Editor_RTF_InsertRTFCode in Unicode


DB_SQLite_0.3.zip
Image
Size: 231Ko
Code:
Release with SQLite 3.6.0.


GoogleCode : RWrappers
Code:
Collection of all RWrappers.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 09, 2008 1:46 am 
Offline
User
User

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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 09, 2008 8:18 am 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
@liverol :
Finally, you want to create the function EditorGadget with modification of a parameter ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 11, 2008 1:22 am 
Offline
User
User

Joined: Sat Jul 14, 2007 3:21 am
Posts: 26
yeah,i wonder if this is possible?
just change the parameter "#window" to window handle HWND.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 11, 2008 7:53 am 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 25, 2005 1:01 am
Posts: 805
Location: France > Normandy > Near Caen
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 88 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye