RichEdit in Settings Dialog doesnt work...
Moderator: Moderators
-
Flow84
- Posts: 31
- Joined: 2004-11-08 22:59
RichEdit in Settings Dialog doesnt work...
Hi.
I have a Problem.
i am trying to make a Color Page In Settings in DC++ 0.0668 but
when im inserting a RichEdit object from the object list in VC++ .net
and then build it.. it doesnt want to show that page.
it just show the page before (in the menu). if i then click on the page before in the menu nothing happen.
if i delete the RichEdit object and build it again, everything works well...
what is wrong with my RichEdit object? :S
why cant i have a RichEdit object in the gui. not even if there is no function to it.. :S
do i need to reinstall Visual Studio .net to get it to work or have anyone a idea what i could try before...
My System:
Windows XP SP2 Home
Visual Studio . Net 7.1 (2003)
I have a Problem.
i am trying to make a Color Page In Settings in DC++ 0.0668 but
when im inserting a RichEdit object from the object list in VC++ .net
and then build it.. it doesnt want to show that page.
it just show the page before (in the menu). if i then click on the page before in the menu nothing happen.
if i delete the RichEdit object and build it again, everything works well...
what is wrong with my RichEdit object? :S
why cant i have a RichEdit object in the gui. not even if there is no function to it.. :S
do i need to reinstall Visual Studio .net to get it to work or have anyone a idea what i could try before...
My System:
Windows XP SP2 Home
Visual Studio . Net 7.1 (2003)
-
ivulfusbar
- Posts: 506
- Joined: 2003-01-03 12:33
-
Flow84
- Posts: 31
- Joined: 2004-11-08 22:59
ivulfusbar wrote:Both fuldc and bcdc uses richedit if i'm not misstaken. Take a look at their source-code for hints/tips.)
sorry if im unclear...
if I open dc++ source in vc++
and go to resource and dcplusplus.rc
and then dialog and choosing the dialog im working on.
in the toolbar under Dialog Editor there is a control called: Rich Edit 2.0 Control.
if i insert that one in my dialog.. and then build the solution...
then i get problems.
and yes. i have problem with just that control.. :S
-
ullner
- Forum Moderator
- Posts: 333
- Joined: 2004-09-10 16:00
If you are trying to create a new page, you need to add it in DCPlusPlus.rc (the actual window), DCPlusPlus.vcproj (so it will be compiled), resource.h (it need to have a resourcenumber) and PropertiesDlg.cpp/h (to have it in the settingsmenu).
I would suggest using the CVS if you want to create another page since a few pages are redone in the CVS (future 0.669).
I would suggest using the CVS if you want to create another page since a few pages are redone in the CVS (future 0.669).
-
Flow84
- Posts: 31
- Joined: 2004-11-08 22:59
ullner wrote:I would suggest using the CVS if you want to create another page since a few pages are redone in the CVS (future 0.669).
ok... when the 0.669 comes as unstable/stable i will maybe work with it...
but i dont want to work with cvs because there is so much that is changing all the time..
been there done that.. if i am allowed to say so..
-
ivulfusbar
- Posts: 506
- Joined: 2003-01-03 12:33
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Flow84 wrote:well... the time will tell..
Time has told with other projects. Both BCDC and fulDC include the CVS directories in their source repositories so they can be kept up to date with CVS commits.
Even if you only sync after the official releases, it pays for itself very quickly, in terms of effort and hassle.
-
Flow84
- Posts: 31
- Joined: 2004-11-08 22:59
GargoyleMT wrote:Flow84 wrote:well... the time will tell..
Time has told with other projects. Both BCDC and fulDC include the CVS directories in their source repositories so they can be kept up to date with CVS commits.
Even if you only sync after the official releases, it pays for itself very quickly, in terms of effort and hassle.
well i know nothing about cvs...
but if it is so great i maybe have to learn to use it
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Learn to use CVS? Definitely.
I'd suggest you go back and change that call from LoadLibraryA(...) to LoadLibrary(...). In the first case, you're explicitly picking the non-unicode call, which is probably not what you want, if your code is based on 0.4033, which is unicode. LoadLibrary will call either LoadLibraryA or LoadLibraryW based on the eistence of _UNICODE as a define (or not) in the project (which is in turn controlled by the project file).
I'd suggest you go back and change that call from LoadLibraryA(...) to LoadLibrary(...). In the first case, you're explicitly picking the non-unicode call, which is probably not what you want, if your code is based on 0.4033, which is unicode. LoadLibrary will call either LoadLibraryA or LoadLibraryW based on the eistence of _UNICODE as a define (or not) in the project (which is in turn controlled by the project file).
-
Flow84
- Posts: 31
- Joined: 2004-11-08 22:59
GargoyleMT wrote:Learn to use CVS? Definitely.
I'd suggest you go back and change that call from LoadLibraryA(...) to LoadLibrary(...). In the first case, you're explicitly picking the non-unicode call, which is probably not what you want, if your code is based on 0.4033, which is unicode. LoadLibrary will call either LoadLibraryA or LoadLibraryW based on the eistence of _UNICODE as a define (or not) in the project (which is in turn controlled by the project file).
any special program/project you recommend? (CVS i mean)
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
Any recommendations for clients for CVS? I use WinCVS. If I weren't using subversion, I'd probably look at TortoiseCVS.
If you don't already have the CVS directories in your source code, you'll need to wait til 0.669 comes out. Merge your code against that, then check out a clean CVS in another directory and copy all of the CVS directories over... (after making sure that CVS == the source in the .zip file)
If you don't already have the CVS directories in your source code, you'll need to wait til 0.669 comes out. Merge your code against that, then check out a clean CVS in another directory and copy all of the CVS directories over... (after making sure that CVS == the source in the .zip file)
Who is online
Users browsing this forum: Google [Bot] and 0 guests