RichEdit in Settings Dialog doesnt work...
Moderator: Moderators
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)
-
- Posts: 506
- Joined: 2003-01-03 07:33
sorry if im unclear...ivulfusbar wrote:Both fuldc and bcdc uses richedit if i'm not misstaken. Take a look at their source-code for hints/tips. )
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
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).
ok... when the 0.669 comes as unstable/stable i will maybe work with it...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).
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..
-
- Posts: 506
- Joined: 2003-01-03 07:33
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
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.Flow84 wrote:well... the time will tell..
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...GargoyleMT wrote: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.Flow84 wrote:well... the time will tell..
Even if you only sync after the official releases, it pays for itself very quickly, in terms of effort and hassle.
but if it is so great i maybe have to learn to use it
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21: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).
any special program/project you recommend? (CVS i mean)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).
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21: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)