|
It is true, my checkboxes were next to each other. But what I said was true. When I had no WS_GROUP style selected for either one I got one or the other. When I selected WS_GROUP on the second checkbox I could then select both or just one. It wont hurt to try and if it works, it is very simpl. Kinda like me. ![Wink | ;)](https://codeproject.freetls.fastly.net/script/Forums/Images/smiley_wink.gif)
|
|
|
|
|
SimplCodr wrote: But what I said was true. When I had no WS_GROUP style selected for either one I got one or the other.
Fair enough.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hey Folks,
Newbie question. Using MS Visual C++ 6.0 . I have a large project that I would like to keep intact but continue to work on it under a new name. Say I had a project named fred with all of its associated files and I wanted to make a copy of it named sally in a new directory. How would I do that without hosing up everything? Thanx.
RJT
|
|
|
|
|
Just copy the whole solution directory and give it a new name, and all should be good
|
|
|
|
|
benjymous wrote: Just copy the whole solution directory and give it a new name...
Coupled with renaming some of the project's files (e.g., fred.dsw --> sally.dsw), and modifying the project's .dsp and .dsw files (they internally reference fred).
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Yes! Wonderful. After rebuilding all and finding all of the #includes that were referenced to "fred", "sally" seems to work. Thanx a million.
RJT
|
|
|
|
|
There's a CP article that supposedly automates this, but having never useed, I can't attest to anything.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
how to configure wireless using netsh.give sample codes
|
|
|
|
|
Hi,
I made a connection to .dbf file using Microsoft Visual FoxPro Driver and then trying to fetch schema information by using SQLColumns but it is taking 1-2 minute time to return.
Instead when I am using CDatabase class and connecting through a DSN it return in a moment can anyone suggest why it is taking so much time and please suggest if any solution.
Ravish
|
|
|
|
|
wrote: please suggest if any solution.
Ask it in the SQL Forum[^]
|
|
|
|
|
Hallo all,
I supose that many of you will use the grid of Chris Maunder - it seems to be almost perfect. But I have one problem (more of course , but one that is so serious that I have now to decide to use it or not).
I'm using the grid in a view, and I always have to click in the grid first, before I con scroll with the keyboard. So I cannot work without mouse. After clicking, it's perfect. But I have an MDI-progam, and it's making me nervous to have to click into the grid every time after changing the window.
Thought that I made something wrong but tried it even with the demo-program 'gridctrl_in_view' - the same probelm???
Any answer would be helpful and I would be happy if I could decide to use this grid, Gerard
|
|
|
|
|
ensger wrote: Chris Maunder
Wait.. I think I've heard this name..
|
|
|
|
|
I hope you didn't hear 'Dead or alive' at the same moment;P
I never heard his name, I only read the name here and it always makes me sure to have something with great quality;)
But my problem with scrolling is still my problem Hope, I can solve it;) Or you![Roll eyes | :rolleyes:](https://codeproject.freetls.fastly.net/script/Forums/Images/smiley_rolleyes.gif)
|
|
|
|
|
What if you use SetFocus to set the keyboard focus to the grid control?
"Great job, team. Head back to base for debriefing and cocktails."
(Spottswoode "Team America")
|
|
|
|
|
I tried
m_pGridCtrl->SetFocusCell(2,4);
for example, but it doesn't change the situation. It focuses this cell, but the keybord doesn't work anmore (it works's, if I click in the grid with the maouse)
Good idea, but unfortunatly This problem is for me like 'Only a step for the programmer but a great step for all users'
Do you know a way to simulate a mouse-click prgrammaticaly?? Even if this destroys the existng selections - I could live with this becouse of the increadable advantages of this grid!!
Thank's, Gerard
|
|
|
|
|
I don' know how the grid is implemented, but somewhere there's a window that you should be able to
direct the focus to. The system does it when you click on it so it should be possible
programatically.
What about m_pGridCtrl->SetFocus() or viewwindow->SetFocus(), something like that?
"Great job, team. Head back to base for debriefing and cocktails."
(Spottswoode "Team America")
|
|
|
|
|
Tried
pGridCtrl->SetFocus()
but it doesn't work. (compilition ok, but no difference)
Trid viewwindow->SetFocus()
it didn't work. (compilition-error)
Many thank's for suggestions, Gerard
|
|
|
|
|
hmmm bummer.
Hopefully Chris himself will see this post and respond
"Great job, team. Head back to base for debriefing and cocktails."
(Spottswoode "Team America")
|
|
|
|
|
hi,
I want to use vc++6.0 win32 dll in my VC++.net project
What can I do?
I have done this
using namespace System;
using namespace System::Runtime::InteropServices;
[DllImport("MYDLL.dll")]
extern "C" int _cdecl addno(int a, int b);
and got error given bellow
error C2337: 'DllImport' : attribute not found; it is neither a built-in nor a custom attribute that is accessible in the current namespace
error C2653: 'System' : is not a class or namespace name
error C2871: 'InteropServices' : a namespace with this name does not exist
Thanks in advance
Rushiraj
|
|
|
|
|
It looks like, you have not selected /clr option for you project.
|
|
|
|
|
hi
Can u please tell me how to set /clr option in vc++.net 2003
I heve search on net it says go to project properties->configuration properties -> general in that you find clr option but I am not able to find it
Thanks
Rushiraj
|
|
|
|
|
rushiraj.jhala wrote: go to project properties->configuration properties -> general
And there will be option, use common languae runtime, see that.
|
|
|
|
|
Why would you use managed code from a C++ application to access exported functions from a native C DLL? You need to step back and do some more reading until you understand things a bit more.
led mike
|
|
|
|
|
I'm writing an application that uses a 'hot-key' to provide it's facilities. My application sits in the system tray and creates an invisible main application window. Keypressed are polled at global focus level to detect the user defined hot-key and if detected, I want the keyboard & mouse focus to be overriden by my application.
Two problems have emerged when attempting to do this:
* If I open up notepad and press the hot-key when my application focus and mouse cursor is over notepad a character is entered into notepad. I don't want this to happen .... can anyone suggest something?
* I want the user to know when my application has taken over focus by changing the mouse icon. Changing the icon seems to have no effect, even when using 'SetCapture'. I can verify that if I dummy my application to create a temporary visible window, the cursor icon changes when hovering over my app window. I want the icon to be overriden globally. Is this posible?
http://www.asura.co.uk
|
|
|
|
|
Hi All,
I need to write some application and one of my need is to prevented user to kill the process in any case.
On of the option of killing the process ( application ) is of course by the task manager - and i need to prevent this option.
What i need is in some way to remove the application that i run from be in the task manager.
How can i do it ?
Thanks for any help.
![Rose | [Rose]](https://codeproject.global.ssl.fastly.net/script/Forums/Images/rose.gif)
|
|
|
|