|
pgav wrote: Does anyone know of a plug in for Eclipse that would allow me to use the Visual Studio Compiler, or another Windows compiler that doesn't require Cygwin?
You can check the Eclipse plug-in repository (can't find the URL at the moment otherwise I would post it), but I doubt you will find anything like that in it.
A better solution for you might be to organize your project as follows:
ProjectDir
- source dir
- linux development (IDE files)
- windows development (IDE files)
Then you just have to make sure if you make changes to the project settings in one side, you also do it for the other side (you can write scripts or macros to do that for you if you really want to).
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week
Zac
-- modified at 11:22 Friday 21st July, 2006 ... apparently the "pre" button isn't working today?
|
|
|
|
|
hi all ,
I have a dialog box application.I want to remove the cancel button at the top right of a dialog box.Can anyone pls. tell me how to do it.
|
|
|
|
|
Have you considered removing the WS_SYSMENU style?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
do in the resource editor, select your dialog box, once it's openned, select the "Cancel" button and press the delete key on your keyboard.
|
|
|
|
|
The "cancel" button he is referring to is the "X" in the top-right corner of the dialog.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Do the following:
Open the dialog box resource from the resource window in the workspace pane. Right click once you are on the dialog box and open properties. On the 'sytles' tab uncheck the system menu. That should do the trick.
|
|
|
|
|
Hi ..
Do u mean the CANCEL button which comes by default when u start a new project?
Or some other cancel button, write it in clear
cheers..
Do Good, Be Good
|
|
|
|
|
|
Right now when I have a dialog box open I can only work in the one box and can't click on anything outside it (i.e. clicking on the toolbar to open another dialog box or getting the about box to come up isn't working...)
I want to be able to click on the toolbar, menu, open more than 1 dialog box, etc.
I guess I'm looking to make these dialog boxes work like child forms in an MDI MFC App. where no matter how many child windows you have open you can still click on the toolbar, menu, etc.
Is that possible?
Thanks,
Kitty5
|
|
|
|
|
It sounds like you are treating your dialogs as modal dialogs (that is, you are calling DoModal at some point). To accomplish what you want, you need to follow the non-modal creation method (using CDialog::Create). Check MSDN for more details and information.
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week
Zac
|
|
|
|
|
Zac Howland wrote: It sounds like you are treating your dialogs as modal dialogs (that is, you are calling DoModal at some point).
Yes, that was exactly what I was doing.
Ok Cool. I figured it had something to do with the DoModal function that I was messing up on.
Thanks! You ROCK!
Kitty5
|
|
|
|
|
hi all,
in my application i wrote the code to get the data from users Documents and settings\user1\Application data folder.
in one system i am unable to read the data neither it is giving error
please help me to solve this problem
thanks all
venu
|
|
|
|
|
1st: do you have "C:\\Documents and Settings\\user1\\Application Data" in your code? (i.e. have double slashes instead of C:\)
2nd: does the other system you're trying to run the code in have the folders set up the way you want it...(i.e. C:\Documents and Settings\user1\Application Data)
Kitty5
|
|
|
|
|
g venu wrote: in one system i am unable to read the data neither it is giving error
What code do you have in place to read from this folder?
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
First check if you have rights to peep into others documents folders. If you have local admin rights, you should be able to do that.
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
I dont know why the hell the script for voting 5 is disabled only for me??
|
|
|
|
|
|
g venu wrote:
in one system i am unable to read the data neither it is giving error
have you check GteLastError or have you seen User1 exist there!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Dear Gurus,
You may not be aware that I have lost my job as our company has given us lay off.
I am really expecting a job in MFC, VC++.
I have given 2-3 technical interviews but it has made clear that interviews need special attention and preparation ,
I would be highly thankful , if someone provides me the compilation of interview questions on VC++, MFC, C++, ATL COM, Threading. If with answers then it will be a faster preparation for me. (Sorry being lazy here, but situation is a bit tedious with me right now).
ANy links also will help a lot.
If you want to send me few things, then email address is
rpathak03011978@yahoo.com
Looking forward some help from Codeproject.
Thanks ,
pathak
|
|
|
|
|
it is useless to learn answers by heart, because if the guy ask you something, then you answer but you don't understand what it's been said.
secondly, too much questions can be asked on each topic to be able to provide such a questions compilation.
the only advice i can give you is training yourself to C/C++/MFC, to that you really understand what you do with it, and then, can answer questions on it.
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
*rant* First of all, there is one thing that is driving me nuts about this forum lately: VC++ is not a different language than C++. It is simply a compiler (more specifically, it is an IDE, but I digress). If you want to know how to do something (e.g. open a file and read its contents), it is the same in standard C++ as it is in Visual C++ (unless you elect to use the Win32 API or MFC to do it for you ... but those are libraries for doing things, not IDE's or compilers) */rant*
Now, if you really want to brush up on your skills, make a trip to Barnes and Noble. Check out books like Effective C++, More Effective C++, Effective STL, Exceptional C++, Programming Windows (Petzold's older version ... new version uses C#), Programming Windows with MFC. I have yet to find a really good book on ATL/COM, but several books cover decent areas of those topics. As for threading, check out the O'Reilly books on the subject.
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week
Zac
|
|
|
|
|
MSDN has everything pathak. And there are lots FAQs in CP itself. Micheal Dunn and Alok has done it greatly. Search for them atleast. Don't be lazy expecting me to give the link. Giving links are only for the newbies
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
I dont know why the hell the script for voting 5 is disabled only for me??
|
|
|
|
|
pathakr wrote: Looking forward some help from Codeproject.
look at my sig!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Dear List
I have a problem while i'm drawing lines into my Childview.
Some background: i'm Meassuring some events and the result is plotted to the view. Fore that i use:
<br />
void someMethod(long color)<br />
{<br />
CClientDC cDC(this);<br />
OnPrepareDC(&cDC);<br />
CPen pen(PS_SOLID,1,color);<br />
cDC.SelectObject(&pen);<br />
<br />
cDC.MoveTo(from_pt);<br />
cDC.LineTo(to_pt);<br />
}<br />
I Use this method quiet offten (recalled after 25 milliseconds). So fine.
Now moving the mouse over the toolbar is fine until the tool tip (or any tool tip belonging to the mainframe) is shown. It seems like the tooltip is shown between MoveTo and LineTo.
So it might the easiest for me ether to deactivate tooltips at all - i don't know how to do this - or to have another possibility to draw a line.
Please any suggestions might help
THX
Tim
PS Oh i forget to say not all Window machines behave the same way - i mean on some machines this happens on others not.
|
|
|
|
|
maybe you could create a bitmap for your line drawing and then BLT the bitmap to the cDC?
cje
|
|
|
|
|
tbrake wrote: So it might the easiest for me ether to deactivate tooltips at all
call CToolBarCtrl::GetToolTips to get CToolTips class pointer associated with the Toolbar and then Call CToolTipCtrl::Activate() to deactivate it
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|