|
This[^] article might help you (look for the Other Considerations section). Windows sends a WH_CANCELJOURNAL message when you press Ctrl+Alt+Del or Ctrl+Esc. You need to monitor that and then store the current state somewhere. When the user hits Resume, you'd have to install the hook again and start playback from the stored state.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
WinMacro rocks! Thanks for making the source available.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
|
i have a class which has partly implement the IDataObject interface.
i don't know how to finish the GetData(...) method
what should i do in it so it can support text copy/paste?
|
|
|
|
|
Hey all.
On my main dialog I have created a property sheet and added a couple of property pages to that sheet. I have a menu on the dialog that allows you to select options. I have an event handler in the main dialog that handles the clicking on those particular option buttons. What I want to be able to do is from the main dialog button event, send a message to one of the property pages telling it to do something (in this case, it would send a message saying "Refresh your view now"). I'm not really sure how to go about doing this. If anyone could enlighten me I would really appreciate it.
TIA
Shultas
|
|
|
|
|
Well... You could use PostMessage or SendMessage with a custom (WM_USER) message to transfer the data in windows messages. But surely you have a set of objects for your property pages declared somewhere in your dialog or propery page. So can't you just define a function in the class of the property page, and then call that from the parent dialog?
Joel Holdsworth
Wanna give me a job this summer?
Check out my online CV and project history[^] - now available in MSWord format![^]
|
|
|
|
|
Anyone care to make some money? I need the following written in C++ for a class that I hate.
Modify the mortgage program to input the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. Display the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term of the loan. On longer-term loans, the list will scroll off the screen. Do not allow the list to scroll off the screen, but rather display a partial list and then allow the user to continue the list. Allow the user to loop back and enter new data or quit. Insert comments in the program to document the program. This program should still be a procedural C++ program.
|
|
|
|
|
write your post as a logged guy, and we'll talk about it then
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Anonymous wrote:
I need the following written in C++ for a class that I hate.
But that does not absolve you from knowing what a mortgage is and is not. A mortgage is a transfer of rights to a piece of property. Now if you are wanting to calculate a loan's principal, interest, term, or monthly payment, you might stand a better chance of receiving assistance.
See if any of these sites help:
http://www.projectslist.biz/freelance/Java/java-program/
http://www.getacoder.com/projects/mortgage_applet_14839.html
http://seul.org/~jennifer/University%20of%20Phoenix_407A.doc
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
Anonymous wrote:
Anyone care to make some money?
How Much ???;P
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
hi
i am working on directshow, but i dont have dshow.h header file.
i dont know from where to download it to carry my work.
can anybody help me out from this problem?
thanx...
|
|
|
|
|
hi,
i am using scrollbar in my class derived from CView. But the horizontal scrollbar is not appering. When i use the statement
SetScrollInfo(SB_VERT, &si, TRUE);
SetScrollInfo(SB_HORZ, &hi, TRUE);
in the OnSize function even the vertical scrollbar disappers and appears only after resizing the window.
Can anybody tell what is the problem.
Thanks.
|
|
|
|
|
Try :
SetScrollSizes(MM_TEXT, sizeTotal, sizePage, sizeLine);
in OnInitialUpdate() function.
Alex
|
|
|
|
|
Hi,
LX my class is derived from CView and i am using the Scrollbar by setting the window style in preCreatewindow as
cs.style |= WS_HSCROLL|WS_VSCROLL;
So i can,t use SetScrollSizes function.
|
|
|
|
|
Hi,
I am using FtpFindFirstFile with the search path as "/gfg/mmm/bn" but the LPWIN32_FIND_DATA variable is not giving the correct directory attribute though it is working Correctly when i am giving the search path as "/gfg/mmm".
Thanks.
|
|
|
|
|
Hello all
I need to capture the events of the main menu of an application (Doc/View with a single view). I mean that menu with "File", "New", and so on. I have to know when the cursor is over each element of the menu (both mouse or keyboard cases), in order to inform the user about that fact (it is for blind people). In this way, when the focus is over "File" I will say "File" to the user, and so on.
Any hint about how can be done?
Thanks
|
|
|
|
|
|
Is it only their libraries, or is there something more fundamental?
Thanks for any insight in this matter.
William
Fortes in fide et opere!
|
|
|
|
|
managed C++ (MC++) is a pure Microsoft product acording to his .NET framework.
C++ is only a language, that has a standard (grammar, lexical rules, etc...) on whick is based Visual C++ to allow you to write managed code.
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
MC++? If you mean "Microsoft Visual C++", then:
ANSI C++ is a standard for the C++ Programming Language.
That means: Almost all C++ compilers are ANSI C++ - compliant (or at least claim to be), but most compilers also offer "extensions".
These "extensions" are differ by vendor. Microsoft, for example, offers the might "Microsoft Foundation Classes" (MFC) which can be used for "easier" design of Windows Applications.
Short: Microsoft Visual C++ "contains" C++
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
google on MC++ (you'll find you paradize...)
MC++ == Managed C++
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
MC++ is a C++ compiler (or more precisely, a compiler setting) that:
a) compiles C++ code to IL, rather than native machine instructions.
b) Supports certain language extensions to fit into .NET object model.
MC++ is being deprecated in favor of C++/CLI in VS 2005.
My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
|
|
|
|
|
Thanks for replying.
Having worked with Visual C++ for years, I knew of the extensions to the language that MS provided (and I accepted them). The confusion occurred when ".net" was introduced, because it wasn't just VC++ anymore. It was VC7; then it was ".net"; then it was MC++, and it just seemed like it was a new flavor ever so often from which developers had to choose.
I knew there was a change in libraries, but then I began seeing changes in syntax, and pretty soon articles were making common references to MC++, VC7, and ".net", that I soon thought a rebellion was somehow occurring right under my nose.
I just thought I better get this matter cleared up soon, particularly since I understand VC8 is about to be released.
William
Fortes in fide et opere!
|
|
|
|
|
WREY wrote:
...it just seemed like it was a new flavor ever so often from which developers had to choose.
Agreed!
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
Hello all,
I currently have an application with a class derived from CDateTimeCtrl that is being used as a picker on a dialog. Now I would like to display week numbers in the CDateTimeCtrl that pops up when you click it. I have an override on OnDropdown and I can fetch the CDateTimeCtrl using GetMonthCalCtrl. However, I can't figure out how to set the week numbers.
As far as I can see, the week numbers must be set with MCS_WEEKNUMBERS in CDateTimeCtrl::Create. I think CDateTimeCtrl::Create is already called when I call GetMonthCalCtrl in OnDropdown... Is there no other way to set the MCS_WEEKNUMBERS? Or how else should I do this?
Thanks,
- Fahr
|
|
|
|