|
thanks, got that one working
norm
|
|
|
|
|
Why don't you just ask "u" instead of posting a question here? I mean, how would we know what "u" does and how he/she/it does it?
|
|
|
|
|
what's yr problem mike
norm
|
|
|
|
|
what's yr problem mike
Huh? What's "yr"?
I tell you what my problem is: It's kids that abuse the english language in writing in areas it's not suitable.
If you write "u" or "yr" or whatever your favorite shorthand is in an SMS or any other place where you target a very limited audience I don't care.
But when this crap is sneaking its way into serious discussions I feel I have to react before it's too late. If you want to communicate with people from all over the world in writing and in the english language, please use the english language.
Now learn to spell or piss off.
|
|
|
|
|
chill
norm
|
|
|
|
|
spell
|
|
|
|
|
hi, i have set up a CListCtrl which enable in place editing by drawing an edit box around the cell that's selected.
http://www.codeproject.com/listctrl/editing_subitems_in_listcontrol.asp
the trouble is, the user must hit ENTER (that triggers OnOK) before leaving the cell. I improved the situation a little by capturing CMyDlg::OnKillfocusEdit1(). Just as OnOK, the handler transfer what's entered into the editbox to the CListCtrl.
however, that's insufficient. i wish that the user can use the arrow key to move around.
norm
|
|
|
|
|
I am trying to place one of those cool hyperlink controls into my application, and I can't get it to work. I have VC++ .Net, and all of those instructions for adding the class to the static control don't work. In the resource editor, I right-click on the static control and the "add variable" option is grayed, yet on all the hyperlink control examples, the option is availible. Is there a way to add the hyperlink control without using the Class Wizard? Or is there anyone out there who knows how to use the new VC++ .Net Class Wizard?
-- Steve
|
|
|
|
|
What would cause a window to lose focus when a common dialog appears but the parent window stays on top so the dialog is behind where it can't be selected?
Thanks
Jeff Patterson
Programmers speak in Code.
http://www.anti-dmca.org[^]
|
|
|
|
|
I figured it out thanks
BTW
Hope every one has a happy turkey day. Even if oyu aren't celebrating it "officially".
Jeff Patterson
Programmers speak in Code.
http://www.anti-dmca.org[^]
|
|
|
|
|
Me again. I've finally got my link errors to go away. And now all that's really left is to package the program up for distribution.
I've used Depends and determined that my app needs ole32.dll, oleaut32.dll, olepro32.dll, comctl32.dll, etc. If my memory serves me correctly, these are pretty standard on recent systems.
If I'm not concerned about supporting old systems (95, etc.), is it safe to just distribute my executables (with MFC statically linked)? Or should I package up these Dlls from my XP box just in case?
J
May the bear never have cause to eat you.
|
|
|
|
|
You should use the runtime redistributable merge module for windows installer (the precise name and location of the package escapes me), to be found at microsoft.com.
This is the correct approach. Better because it actually works, and because it is actually legal.
Bernd
|
|
|
|
|
berndg wrote:
This is the correct approach. Better because it actually works, and because it is actually legal.
?? My understanding is that as long as the files I'm distributing are in the redistribution list published by MS, then it is "legal".
Also, it took about 20 minutes to learn and build my install using NSIS. After spending 20 minutes on the MS site, I couldn't even find a reasonable reference. :P
J
May the bear never have cause to eat you.
|
|
|
|
|
If I have a button on dialog box and I want to write program to open picture window when I click it. Do you know which function to open that window?
|
|
|
|
|
What do you want to do?
to open a picture file?
or make your own window class showing images?
or what?
Dmitry Timin
|
|
|
|
|
Hello there,
Does DirectShow in DirectX 5.0 can open MP3 or MPEG files ?
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
Back in 1997, DirectShow wasn't part of DirectX. Short answer is no, then.
A built-in MP3 encoder has been introduced since release 7.0.
Of course, it's very likely you can take that MP3 decoder and make it run on top of the DirectShow 5.0 run-time as, as far as I know, the internal filter architecture hasn't been updated.
|
|
|
|
|
Thanks alooot for reply
Best Regards
My month article: Game programming by DirectX by Lan Mader.
Please visit in: www.geocities.com/hadi_rezaie/index.html
Hadi Rezaie
|
|
|
|
|
Hi friends,
How can I get the name of file which is opened by the user by means of open dialog box in a document/view architecture?
Thank you,
Azadeh
|
|
|
|
|
|
Thank you! It worked well.
|
|
|
|
|
I want to open it by myself to be able to read and write to and from it.
|
|
|
|
|
Does CDocument::GetPathName() help you?
< edit > OOps, did not read enough!
You are asking if you can close the file opened by the framework.
Probably the answer is 'depends'.
Cant you simply override CDocument::OnOpenDocument() with your own load code?
--
"My opinions may have changed, but not the fact that I am right."
Found in the sig of Herbert Kaminski
|
|
|
|
|
As you said , I overrided CDocument::OnOpenDocument() , but I simply open a text file and in that case this
function isn't been called.I think it only opens files that are saved with serilizing and using CArchive and it doesn't
open my text file.I used a text file to save graphic items that are drawn by the user in my project and I want user
can open the file in a symbolic way then I draw the items using text file.However this is enough for me that I can
get the name of file even if it hasn't opened really.I thought it opens file and I can not open it simultanously.But
even for a file that is saved with the CArchive format, it seems that it opens the corresponding file and then close
it because I can open the same file at that time.
|
|
|
|
|
Just a quick question, when I have a static member pointer var..
class Poo {
static Poo * _poo
}
-- implemented
Poo * Poo::_poo = new Poo();
Poo::Poo()......
Do I look after the destruction of the pointer or does that happen automatically
Cheers
Asim Hussain
e: asim@jawache.net
w: www.jawache.net
|
|
|
|