|
Yes, I am doing the SetWindowText before I disable the window. I've also tried doing a RedrawWindow on the edit box, but that doesn't work.
|
|
|
|
|
Did you try:
GetDlgItem(IDC_VID_PREFIX_EDIT)->Invalidate();
-Jack
To an optimist the glass is half full.
To a pessimist the glass is half empty.
To a programmer the glass is twice as big as it needs to be.
|
|
|
|
|
|
Hello:
I've migrated a VC6 project to VC7. I've no errors when compiling it. The project consists in several DLLs and a executable project. Everytime I build the solution, all resource files in every DLL is recompiled.
How can I avoid this innecesary recompilation of the resource files.
Thanks in advance,
Jose
|
|
|
|
|
You are in good company. Many have been bitten by this bug. Makes you wonder if the MS QA is ever going to be back from the "vacation". :-/
Anyway, head on over to the MS newsgroup microsoft.public.dotnet.languages.vc for a possible solution. The more people that complain, the more MS might realize "Oh sh*t, we've once again screwed up. Maybe we _should_ hire some QA people?" and not continue to treat us as guinea pigs year after year.
|
|
|
|
|
Mike Nordell wrote:
and not continue to treat us as guinea pigs year after year.
Just a thought...Higher level...
We are guinea pigs to Microsoft as our users are guinea pigs to us
Nick Parker
|
|
|
|
|
i want a [12][12] array containing text in each bit
im not sure where i need to declare it and where to put it in the main program.
any help on how to set it up would be good
thanks
beginner
|
|
|
|
|
i would put it in the procedure you're using it in, unless you want it to be global..
|
|
|
|
|
|
ive done that thanks, but i still get error like
error C2143: syntax error : missing ';' before ','
error C2143: syntax error : missing ';' before '{'
ive set my array up as ---
char array[12][12]={
{'L','A','Y','Z','E','I','T','H','S','J','H','R'},
{'B','C','Q','Q','U','K','H','L','J','D','A','T'},
..
..
};
|
|
|
|
|
Anonymous wrote:
ive set my array up as ---
char array[12][12]={
{'L','A','Y','Z','E','I','T','H','S','J','H','R'},
{'B','C','Q','Q','U','K','H','L','J','D','A','T'},
..
You've set it up wrong
e.g.
char array[3][3]=
{
{'A', 'B', 'C'},
{'a', 'b' , 'c'},
{'D', 'E' , 'F'}
}
shoudl work.
(-_-)
|
|
|
|
|
or like this if you want
char array[5][3] = {"brian","niamh","marky"};
(-_-)
|
|
|
|
|
Psst! Hey, over here.
<stealthly>
did you mean?
char array[3][6] = {"brian","niamh","marky"};
</stealthly>
Jeremy L. Falcon
"Tickle me Elmo -- please!"
<nobr>
Homepage : Sonork = 100.16311 Maybe my mangling might misguide malicious miscreants momentarily?
|
|
|
|
|
Hey
What you need to do is just define the inputs in one big list no need for {} after every 12 the compiler automatically assigns the first 12 to teh first array of 12 then the next 12 to the next and so on.
Peter
Do it like this char array[12][12]={'L','A','Y','Z','E','I','T','H','S','J','H','R','B','C','Q','Q','U','K','H','L','J','D','A','T'};
|
|
|
|
|
Reveal thyself ye swine or thus not an answer from me you will receive!
Even the best of the best ask questions -- that's how they become the best.
Jeremy L. Falcon
"If you eat the cookie..."
<nobr>
Homepage : Sonork = 100.16311 I care to not care about the care of not caring for the caring of a caring one's country.
|
|
|
|
|
its a miss-tari!!!
|
|
|
|
|
|
char array[4][7] =
{
{"zero\0"}, {"one\0"}, {"two\0"}, {"three\0"}
};
puts(array[2]);
Jeremy L. Falcon
"Tickle me Elmo -- please!"
<nobr>
Homepage : Sonork = 100.16311 Maybe my mangling might misguide malicious miscreants momentarily?
|
|
|
|
|
hi, sorry to bother you again, but it still comes up with the same errors
damsel in distress
|
|
|
|
|
It's giving you a syntax error? Could you post the code (if it's not millions of lines that is) so I could have a run-through?
Jeremy L. Falcon
"Tickle me Elmo -- please!"
<nobr>
Homepage : Sonork = 100.16311 Maybe my mangling might misguide malicious miscreants momentarily?
|
|
|
|
|
|
Jeremy Falcon wrote:
Reveal thyself ye swine or thus not an answer from me you will receive!
Sounds as if a Shakespearian plea for the anonymous to become a user
Nick Parker
|
|
|
|
|
Inside a DLL, Can I find which process is calling the dll ? Thanks
|
|
|
|
|
|
How about a bit more info:
If you want the process name use GetModuleFileName()
If you want the PID use GetCurrentProcessId()
|
|
|
|
|