|
Short answer for now:
Se
http://www.codeproject.com/threads/memberthread.asp
realy easy and Good!
...and justice for all
APe
|
|
|
|
|
sweep123 wrote:
CMyDialog::UpdateData() This is the update data procedure.
Be very careful when using UpdateData(). It can prove to be not very helpful.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
hi,
We have created an activex Ctrl using MFC.
It has serialize method in its COleControl derived class.
Now myActiveX control is inserted in a powerpoint presentation.
Whenever power point slideshow ends, then the serialize method is getting called.
How to avoid serialize method is getting called at the end of slide show mode?
I am trying by setting SetModifiedFlag(false) but no result.
pls help me.
dadsadasd
|
|
|
|
|
I need help in doing a save function.
The program needs to save the text in the text field from a dialog into a text file. The dialog is called from the application which is in MDI form.
Thanks.
jazzlycool
|
|
|
|
|
<font style="color:blue;">#include</font> <fstream>
<font style="color:green;">
ofstream dest("\\fold\\my_file.txt");
Cstring Buffer;
(GetDlgItem(MY_CONTROL))->GetWindowText(Buffer);
dest << Buffer;
dest.close();
TOXCCT >>> GEII power
|
|
|
|
|
Thank you very much. It works very well.
jazzlycool
|
|
|
|
|
perfect, i wasn't 100% sure of me
now i am... eheheh
TOXCCT >>> GEII power
|
|
|
|
|
Hi there
Can someone help me with this?
I need to write a program which simulates a computer system in a public library.
Working on these four objects - Customer, Books and loans
and the library itself.
The library needs to collect info about Customer and add customers.
Books title, isdn number and so forth.
Loans = the date loaned and date returned.
Customers must be able to loan books from and return books
to the library.
Library needs to print out a report containg details of each book and customer for each loan.
I would apreciate if some can just give me a starting point example of how to implement this.
Also links to places where i can go thru similar code
thanks in advance
Bhangie
|
|
|
|
|
It's been a while since I did homework.
Here are some hints for my version.
Each object should encapsulate the data about the instance of the object. For a book, this would be title, author, isbn etc. You'd probably want a unique book id too, since a library may have multiple copies of popular books. For a loan, you want to record the book, the customer, and the start/return dates. If you want history you have to save these after books are returned.
A library is really a collection of other objects. You need some way for objects to persist. A librarian wouldn't type in the names of all the borrowers every day at system startup, or all the books.
Steve S
|
|
|
|
|
i want to develop the interface like ms-paint where theres a toolbox in which button like icons are drawn.also how to add scrolling capability to the interface as it is in paint.
|
|
|
|
|
Try looking at CToolBar / CDialogBar for the toolbox bit,
and CScrollView for the scrolling interface.
For scrollview at least, there are some good scribble samples.
Iain.
|
|
|
|
|
hello!!
i try to drag items between listctrls in my application,but when i drag more than 8 items at one time,the dragmove operation is so slow.
i find that CImageList::DragMove function is so slow,but why?
and how to solve it?
help me!!
|
|
|
|
|
Hi there
Is it passible to resize DC?
Thanks
|
|
|
|
|
A DC doesn't have a size per se. What it has (generally) is a drawing surface (bitmap) associated with it. If it's a memory DC, you can select a different one in, but you'd have to be sure that the old one was managed properly.
Why do you want/need to do this?
Steve S
|
|
|
|
|
1) Wath is the corret way to use "put_Picture" for an Image control if I have the Path of the Picture to load (C++ MFC)?
2)How can I find the Ptah of the application that is running?
Thank's for all
Sorry for my English!!
|
|
|
|
|
GFABBRI wrote:
2)How can I find the Ptah of the application that is running?
Use GetModuleFileName(NULL, ...) .
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
|
|
|
|
|
I am not quite sure what kind of parameters put_Picture expects, but maybe you could try to get a IPicture object with "OleLoadPicture"?
Jens
|
|
|
|
|
I am meeting with this question,waiting for solution....
|
|
|
|
|
How can I put a clock on a button on the toolbar?
Thanks.
|
|
|
|
|
You have a couple of choices that I can see:
1/ Have a really *huge* imagelist, and change the buttons image every minute to reflect the new time,
or
2/ Its for adding a combo box rather than a clock control, but the logic is the same: Toolbars with embedded Combo Boxes[^].
You just need a clock control now!
For example... CClockST v1.3[^]!
Good luck,
Iain.
|
|
|
|
|
|
Thanks a lot.I have looked at the wrong place:codeguru.
|
|
|
|
|
as in subject
Unmanaged in a .NET world
|
|
|
|
|
|
Hi..
Please let me know...How to use
amazon Add/Modify/Delete seller inventory
I want to upload..but how & what & where to pass parameters...
Can anybody give me any example..So Nice of U...
THanks...
---Sumit Kapoor---
|
|
|
|