|
I'm talking about keeping the selection, and just being able to see it again.
alex
'Architecture is music frozen in space.'
|
|
|
|
|
|
Mike:
I agree. But it doesn't (not one, not even all 3).
I see the selection again only if manually I click on one of the list headers.
alex
'Architecture is music frozen in space.'
|
|
|
|
|
Anybody??
I'm really stuck with this one.
Thanks
alex
'Architecture is music frozen in space.'
|
|
|
|
|
Anyone ever try it using command line tools only?
I don't have Visual C++ anymore so I am using the free compiler (which MS released in 2001 or so) thus I have to resort to command line compilation...using MAK files, etc..
Everything is configured properly I think and everything compiles except when I reach resource compilation everything chokes saying cannot find 'msvcrt.lib' which I don't understand because I have setup environment vars for compiler and SDK (which I also downloaded) appropriately I'm sure...???
I just searched my entire HDD drive for that stupid file and only found two:
1) AMD64/msvcrt.lib
2) IA64/msvcrt.lib
Neither of which is my target platform but instead I believe I am using x86 WIN32 as a release build. I just looked into those two directories and noticed only they exist, so I guess that is the way it is supposed to be
Anyone have any ideas?
I've read the apache docs numerous times, so please don't send me those...besides their Windows docs are poor...
Cheers
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
I know about programming questions in the lounge but...
I have been working on a c++ windows forms application project off and on for the past few weeks and i am going nowhere. The part I am stuck on right now is when the user clicks a button, to actually have the button do anything, right now it does nothing.
I am trying Form1::button1_Click and variations to try to make the button work and it is not working and it is driving me crazy...
I have also posted in the c++ forum, but didn't get an answer, hopefully someone here can help me. Thanks.
-- Moved by editor at 0:14 Friday 14th April, 2006
Do not post programming questions in the Lounge.
|
|
|
|
|
http://www.samspublishing.com/bookstore/product.asp?isbn=0672321971&rl=1[^]
Since we can't see your code, or your mouse drags on the IDE it is pretty hard to figure out what you did or did not do. I use DevCPP for GUI design, and most of the guys at work use Visual C++'s designer, without problems. So I know it can be done.
check out the discount shelf at a bookstore, you might find 1st edition for a few bucks.
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Thanks for the recommendation.
The code can be found here.[^]
I mentioned with that code that I had finally found something to help. I did find an msdn article, but it didn't help very much.
Thanks.
|
|
|
|
|
You need to get at least one but I recommend a few programming books. The grand-daddy-poobah-killer-pair in my opinion is.
Programming Windows in C by Charles Petzold. I've got it and I'll never part with it. It is Win32 based but I have to tell you that *NO* part of that book is not valuable applicable today. There's foundations in there that are just great.
The second book I would get is a follow-up in the same series by Jeffrey Richter that focus's on advanced topics, threading, things like that.
With those two books you'll want for little else.
I would avoid programming Windows in MFC by Jeff Procise mainly because MFC seems to be the "One Hit Wonder" of windows programming. Win32 will be around a very long time (if you disagree fine you can it won't bother me) and the core concepts that are discussed by Petzold and then brought to life by Richter will never leave you wanting...
But that is my opinion only. I thoroughly loved those books.
- Rex
The enemy's gate is down.
Welcome to CP in your language. Post the unicode version in My CP Blog[^] now.
|
|
|
|
|
Thanks for the recommendations.
|
|
|
|
|
Edit: Unnecessarily ugly post contents redacted.
Jon Sagara
Look at him. He runs like a Welshman. Doesn't he run like a Welshman? Doesn't he? I think he runs like a Welshman.
My Site | My Blog | My Articles
-- modified at 22:51 Thursday 13th April, 2006
|
|
|
|
|
That was just rude.
I have posted in the appropriate forums and have been having trouble with this for a while.
There comes a time when going through the proper channels doesn't get you anywhere anymore. This is one of those times. I don't like having to post this question in the lounge, but I have to because I can't get an answer anywhere else.
-- modified at 21:47 Thursday 13th April, 2006
I also made the title very clear, so if you didn't want to read a programming question, you knew ahead of time that it was a programming question so you didn't have to read it.
|
|
|
|
|
Bob X wrote: I don't like having to post this question in the lounge, but I have to because I can't get an answer anywhere else.
you can't get a book on using the tool you have? If you had asked, "I am new and would like a tutorial reference for designing forms in Visual C++" you might have gotten nicer responses, and still gotten the same suggestions.
I do not know all the answers, but all I did was tell you to pick up a visual C++ tutorial to find the answers. You could have figured that out on your own, or googled, or asked for the tutorial and spared the grief.
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Jeffry J. Brickley wrote: answer anywhere else.
you can't get a book on using the tool you have?
Sorry for the misunderstanding. I was referring to other forums.
I have some books:
-A Guide to Programming in C++ by Lawrenceville Press which isn't very good.
-C++ All in One Desk Reference for Dummies
But I am still interested in getting some more, such as was suggested. I figured I was missing something small, but I didn't know what it was, and I figured someone here would have a clue about what I was missing. I have googled, used msdn where I finally found something that wasn't very good, I have used the tutorials and help with VS2005 and they are absolutely horrible for me to use. Also reading through a 700+ pages in books isn't very efficient if I don't know exactly what I am looking for.
Jeffry J. Brickley wrote: "I am new and would like a tutorial reference for designing forms in Visual C++" you might have gotten nicer responses, and still gotten the same suggestions.
I have asked for tutorial references on CP before for this problem and recieved no answers so I don't think that would work.
Although I have to say thank you for finally giving me a lead.
|
|
|
|
|
The reason you are not getting good results is that very few books on C++ start with dialogs, forms and buttons. Almost all of them are console based and require you to learn enough of the CLI programming to get a feel for things. Once you know C++ you can go learn anything.
Concrete examples for you are CreateWindowEx() then look up hwnd and start handling messages that go to that window. Handling the messages that get sent to a window by it's hwnd is one way to get WM_MOUSEDOWN and WM_MOUSEUP these are WM_ WindowMessages google for them.
I'm saying way more than I should this being the lounge and all but with what I've put here you have more than enough ammunition to go forth and conquer using google.
If you search Win32Api you're going to get 1000's upon 1000's of examples.
- Rex
The enemy's gate is down.
Welcome to CP in your language. Post the unicode version in My CP Blog[^] now.
|
|
|
|
|
Bob X wrote: I figured I was missing something small, but I didn't know what it was, and I figured someone here would have a clue about what I was missing. I have googled, used msdn where I finally found something that wasn't very good, I have used the tutorials and help with VS2005 and they are absolutely horrible for me to use. Also reading through a 700+ pages in books isn't very efficient if I don't know exactly what I am looking for.
Then try this:
"To avoid asking a programming question in the lounge, it is obvious to me I am missing something in my attempts at handling forms in Visual C++. I posted without getting help here[^] as a reference, but now I am coming looking for what I need to fill in my gaps. I need a tutorial to help me since I am missing some basics, I have googled, I have searched MSDN, but if I don't know what I am looking for how can I find it?
I have .... and .... and .... but it still doesn't help. I don't want to waste my money on yet another book unless it will fill in the basics I am missing. Can anyone recommend a good starting book for doing Visual C++ forms/GUI design and building, please?"
as for the ... for Dummies books.... don't buy them. A) it is self-insulting B) there are far better intro tutorials. You can ask without breaking the rules.
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Will try to put it so elegantly in the future.
Thanks.
|
|
|
|
|
Bob X wrote: Will try to put it so elegantly in the future.
actually, all I did was change your words from "tell me the answer" to "tell me where to find the answer for myself". You said you knew you were missing something small (basics) you said you had books and tried searching but they weren't helping.... All I did was paraphrase you.
"Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime."
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
Jeffry J. Brickley wrote: All I did was paraphrase you.
Interesting...
|
|
|
|
|
Jon Sagara
Look at him. He runs like a Welshman. Doesn't he run like a Welshman? Doesn't he? I think he runs like a Welshman.
My Site | My Blog | My Articles
|
|
|
|
|
"I'm posting it here because I didn't get an answer elsewhere" is disrespectful. If everyone says "I know this is a programming question, but" then the lounge will turn into the local dumping ground for the impatient or lazy.
Moved to the C++ forum.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris Maunder wrote: "I'm posting it here because I didn't get an answer elsewhere" is disrespectful.
Sorry for being disrespectful. It was not my intent.
|
|
|
|
|
I'm trying to create an activex project with 2 controls. The first is the primary control. The second loads some data and the idea behind it is to call a couple of methods within the first to set some features.
The idea behind this is so if there are multiple instances of the main control each one created doesn't have to load the data as that seems less than optimum for performance.
I tried creating a method within the secondary control which has a parameter defined as the first controls class. It compiled ok but when utilizing the two controls calling that method with the primary control as the first parameter doesn't work.
I'm guessing this is because the class isn't actually the control. My question is it possible to pass a control as a parameter in a method.
If so how do I do it?
Thanks
Stewart
|
|
|
|
|
Hi, I am having errors.
error C2664: 'Menu::createMenuItem' : cannot convert parameter 3 from 'std::_Vb_reference<_MycontTy> *__w64 ' to 'bool *'
...
vector<bool> connect_flags;
vector<bool> disconnect_flags;
...
for(int j=0;j<gmenustate.getsizeofgosafestations();j++)
{
this-="">pMenu->createMenuItem(mhComm, (connect_str+gMenuState.getGosafeStation(j).name).c_str(),
&(gMenuState.connect_flags[j]), &_menuHeaderCommFn);
this->pMenu->createMenuItem(mhComm, (disconnect_str+gMenuState.getGosafeStation(j).name).c_str(),
&(gMenuState.disconnect_flags[j]), &_menuHeaderCommFn);
}
Anybody can help me?
Yonggoo
-- modified at 18:51 Thursday 13th April, 2006
|
|
|
|
|
Hey everyone:
I'd like to kill the scrollbar that appears on my screensaver window when I'm using http://www.codeproject.com/com/cwebpage.asp. I try calling ShowScrollBar(hWnd, SB_BOTH, false); for the hWnd to the screensaver with no results.... any idea why?
Thanks!
|
|
|
|