|
I was hoping that as well!
Thanks Mike!
Mark
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
It's here[^] but I can't find the freakin document.
Ack sorry, that's hardware.
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
Hi,
Does anyone know the code how to make Not Visible a picture frame when a radio button is pressed and then make visible again when another radio button is pressed?
Thanks
Ibs
|
|
|
|
|
Do you use of a control for show picture if yes use of ShowWindow(SW_SHOW | SW_HIDE)
|
|
|
|
|
I'm using radio controls to show/hide the picture control. Would I write something like this?:
IDC_PLACEHOLDER->ShowWindow( SW_HIDE );
I did this and got an error saying:
error C2227: left of '->ShowWindow' must point to class/struct/union
Any ideas. Thanks.
ibs
|
|
|
|
|
How do you show your image I think IDC_PLACEHOLDER is an ID of a control if yo have any control you must declare a variable for it and use of ShowWindow
|
|
|
|
|
Could you solve your problem ?
|
|
|
|
|
Not problem if you cant declare a variable for your control(I dont think you have problem with declare) use of this code GetDlgItem(IDC_PLACEHOLDER)->ShowWindow( SW_HIDE );
What happens?
|
|
|
|
|
ibtt1 wrote: Does anyone know the code how to make Not Visible a picture frame when a radio button is pressed and then make visible again when another radio button is pressed?
Add control variable on Picture Control and use ShowWindow api to sho/hide control!
"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
|
|
|
|
|
Hi I am new in VC++ I want to work on a game I've downloaded a game engine named Irrlicht I've done what is written in its tutorials e.g including files, directories etc.. For example I have a file named Irrlicht.h with several other headers and its in other directory than VC++ projects directories. I include it properly but when I compile it, it says Irrlicht.h not found. I've included the directories Tools -> Options -> VC++ Directories, if I'm doing wrong please guide me through this. Any answer will be welcomed.
Nothing.
|
|
|
|
|
Ali Derakhshan wrote: I include it properly but when I compile it, it says Irrlicht.h not found.
Obviously not
Ali Derakhshan wrote: I've included the directories Tools -> Options -> VC++ Directories, if I'm doing wrong please guide me through this. Any answer will be welcomed.
If I understand the question correctly ...
What about #include "<dirName>\Irrlicht.h" // <file path>
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
If you're right then can you please provide a working example of that.?
Nothing.
|
|
|
|
|
is your game support windows plateform...i.e. is it graphics is windows compliant! since many game are mae in turbo c++ which is not compliant with MSVC
"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
|
|
|
|
|
Does anyone know how to implement a tracker that will take either MM or inches? Let's say if I was to set a rectangle to 1 inch, I'll get 96 pixel. But setting 1.005 inches will also give me 96 pixel. Then I can move the tracker without losing the 1.005 inches. If I only get 96 pixel, then converting it back will only get 1 inch and I'll lose the .005 inch.
|
|
|
|
|
moonreflection2000 wrote: Does anyone know how to implement a tracker that will take either MM or inches?
As opposed to what?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Well, with CRectTracker. m_rect is only stored in pixel. That mean I can't really store 1.005 inch as the size.
|
|
|
|
|
Implement the tracker using double variables instead of int/long.
Only do integer conversions when necessary - like when converting to pixels.
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
has anyone used BrowseForFiles_demo project.
Arise Awake Stop Not Till ur Goal is Reached.
|
|
|
|
|
deeps_cute wrote: has anyone used BrowseForFiles_demo project.
This one[^] , if so then no, I haven't.
But what is your question about the demo ?
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
My Blog: ^_^
|
|
|
|
|
|
deeps_cute wrote: has anyone used BrowseForFiles_demo project.
Yes, I'm fairly sure that at least someone has.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
DavidCrow wrote: Yes, I'm fairly sure that at least someone has.
"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
|
|
|
|
|
deeps_cute wrote:
has anyone used BrowseForFiles_demo project.
google.. mam.. google! first need for every programmer
"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
|
|
|
|
|
Hi chaps,
I have a CDialogBar that is most often used as a modeless floating (ie undocked) tool window.
My problem is that I want to intercept when the user clicks the little X in the top right of the title bar to close the dialog. To my surprise, Windows does not send my control WM_CLOSE or WM_SHOWWINDOW. In fact, it does not seem to send any Windows message that I can think of.
Does anybody know what (if any!) message it sends, or how to intercept this action?
Thanks,
Jim
|
|
|
|
|
Do you get a WM_SYSCOMMAND message?
Mark
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|