|
Wow. You didn't understand that either?
Sorry to dissapoint you all with my lack of a witty or poignant signature.
|
|
|
|
|
|
can anyone help me figure out y my dialog box or messagebox wont show. it only shows after i press the alt key. well, i wrote a class and made mostly everything be displayed in it. any ideas y that is happening?
|
|
|
|
|
What are you calling in order to get the dialog box and message box to appear>
::DialogBox(...)
::MessageBox(...)
::CreateDialog(...)
Will these windows appear if you press any other key besides the ALT key?
Is this window the only window in your application, or is it a child window of some other window?
|
|
|
|
|
|
umm... i used.. CDialog dlg(this) then i type dlg.DoModal()... it only show when i press alt key or F10. i dont know, coz i wrote my MFC program from scratch rather than using the Wizard. my other problem is my OnPaint hander. i am using it but it seems not to work. i create a fuction called DisplayBoard and i put it on the my OnPaint function but it still wont update my Board when i minimize it. i think its the same problem with my messagebox or dialogbox. i called MessageBox("text","title"), it shows but after awhile it loses it focus even though i didnt press OK.
|
|
|
|
|
Hi, I have written a program that saves graph data to files. I would now like to double-click on these files to start my program and open the file up. (rather than starting the program and selecting file-open)
How do I pass the double-clicked file name to the program???
Thanks
-------
Signatures come and signitures go
but this one smells bad!
|
|
|
|
|
|
Nish [BusterBoy] wrote:
Use a unique extension and associate your program with that extension, via the registry.
I have already done that. The program starts but I dont know how to get the file name that started the program. I need this to then display the file.
|
|
|
|
|
Coremn wrote:
I have already done that. The program starts but I dont know how to get the file name that started the program. I need this to then display the file.
The command string should be something like :-
%SystemRoot%\system32\NOTEPAD.EXE %1
Now you get your filename as the command line argument
Nish
My most recent CP article :-
A newbie's elementary guide to spawning processes
www.busterboy.org
|
|
|
|
|
If you use VC7,in the third step fill "file extenstion" text box.
If you use VC6,I think in the third step you have to click "advance" button,and there you can fill that box.
Mazy
"So,so you think you can tell,
Heaven from Hell,
Blue skies from pain,...
How I wish,how I wish you were here." Wish You Were Here-Pink Floyd-1975
|
|
|
|
|
Gotcha!!
I used CommandLineToArgW(..)
Thanks
----
To be truly Happy is...
Not available at this moment
|
|
|
|
|
I am looking for a relational database with inexpensive licensing fees.
I only need the most basic of functions, such as Select, Update and Create table.
MS Access has far more power than I need and is rather expensive to pay the license fees.
Are you aware of anything less expensive?
thank you
|
|
|
|
|
Look for MySQL
Andres Manggini.
Buenos Aires - Argentina.
|
|
|
|
|
This is a great solution, you not only helped us but we are happy to pay the shareware license.
thank you very much
|
|
|
|
|
|
Or MSDE, which is also free, and can be upscaled to MS SQL when needed.
// Rock
|
|
|
|
|
You must check out http://www.hwaci.com/sw/sqlite/
Joel Lucsy (jjlucsy@ameritech.net)
|
|
|
|
|
I'm kindda confused about the licensing (the Mozilla thingy) - can sqlite be used for commercial applications without paying a fee or what?
Cheers
Steen.
"To claim that computer games influence children is rediculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
|
|
|
|
|
Quote from the sqlite homepage: "Sources are uncopyrighted. Use for any purpose."
Joel Lucsy (jjlucsy@ameritech.net)
|
|
|
|
|
Jon, Claw and Joel - thank you.
|
|
|
|
|
I am having some problems with my CHtmlView getting the OnChar() callbacks. Everything works fine *until* I click in the body of the Window (not the titleBar or frame). Once I do this, no OnChar's every get sent to the view. I'm assuming the the Browser Control has grabbed input, but how do I get it to release it. I have tried setting the focus to other windows with no results. The CHtmlView window does lose focus when you click on other windows like it should, but the OnChar's never get called again. This is also true for the mouse button virtual functions as well. No Input.
RZ
|
|
|
|
|
Is there any way to rebuild the classwizard conf. file for my project? Or perhaps a utility to do this for me? I have a few imported classes with all the classwizard comments and insert locations intact. I would modify the file manually, but i'm too lazy.
Simon
CPUA chief administrator - #0x0000
Sonork ID 100.10024
|
|
|
|
|
Delete it, hit CTRL-W and it will be rebuilt for you.
Christian
The tragedy of cyberspace - that so much can travel so far, and yet mean so little.
|
|
|
|
|