|
Forgot to mention....the resulting CImage pixel bits are 32-bit RGBA format in case your image
processing code isn't prepared to deal with that
Mark
-- modified at 14:52 Tuesday 29th May, 2007
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Hi everybody.
I´m trying to write in the Edit Box and its impossible to do it.
Selecting the edit box by clicking on it and then writing does not work. To write on it what I must do is reach the Edit Box by pressing tab key (check that proyect y uploaded in Megaupload to get an example of what is happening to me...)
Can somebody tell me what am I doing wrong?
http://www.megaupload.com/?d=K43YK4CM
Thanks
|
|
|
|
|
I have a clue.
When I set the focus on the edit box like this:
SendDlgItemMessage(IDC_EDIT,WM_SETFOCUS);
I cannot write. I took off that line and now I can write with no problem.
Anyway, I need the focus on that control when the dialog opens...
Lets follow...
|
|
|
|
|
garfield185 wrote: SendDlgItemMessage(IDC_EDIT,WM_SETFOCUS);
Have you tried SetFocus() instead?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
SetFocus does not work...
The only way to put the focus was that line, but if I use the SendDlgItemMessage I cannot write!! What a dilemma...
|
|
|
|
|
Hi All,
Can somebody tell me,how to replace a menu item with Image.
Thanks in advance.
Appu..
"My blood group is not B+.But I have it my blood"
|
|
|
|
|
Did you search on the codeproject or did you see Menu section?
|
|
|
|
|
Hello All,
i have to make word addin so i am creating a word addin(shared addin) using MSVS 2003.
after creating this project, I am trying to add ATL Simple Object but it is unable to add this class and interface. i am unable to find the problem what is the problem while in MSVS 2005 everything is going fine.
but i have to work MSVS 2003 so please tell me what is the problem behind that?
thanks
bankey
|
|
|
|
|
My application is crashing when I click ctrl +F5.But when I click F5 & run the application it wont crashes.
Kindly let me know the reason behind this crash..
Urgent need...
Lavate Mallikarjun Avanna
|
|
|
|
|
Did you try and debug your application?
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
in debug the application is working fine.But when i run using the ctrl +f5 it crashes.
|
|
|
|
|
Did you use of breakpoints on your program?
|
|
|
|
|
|
|
How to add a property sheet in Visual Studio 2005? I know how it is possible under VC6.
|
|
|
|
|
Add it to visual studio or in your application?
If adding to your application, it should be the same as it was in VC6 - A property sheet is a
Windows control, not a Visual Studio feature.
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
I want to change client area size of CFromView project in real time.
Anybody know how to do this?
Thanks
|
|
|
|
|
Client Area will change if you resize the window. you can do using SetWindowPos or MoveWindow
|
|
|
|
|
็SetWindowPos() need CWnd object of this dialog.
Please give me some idea for get this object.
|
|
|
|
|
AfxGetMainWnd()->SetWindowPos(&CWnd::wndTop, myX, myY, myWidth, myHeight, SWP_SHOWWINDOW);
--
=====
Arman
|
|
|
|
|
At what point do you want this change to occur? You can use SetWindowPos() or MoveWindow() to do the sizing.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
In fact, my problem is that I create this project on 800*600 screen resolution.
when I run this project(maximize) on this resolution it will work properly, but if I run it on 1024*768 screen resolution the client area will shrink.
How can I spread it always full screen on any screen resolution?
|
|
|
|
|
Max++ wrote: How can I spread it always full screen on any screen resolution?
How about ShowWindow(SW_SHOWMAXIMIZED) in the InitInstance() method?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Some more detail would be helpful. Perhaps the others have helped of if not perhaps the WM_NCCALCSIZE is what you're after.
Steve
|
|
|
|
|
Hi
I have to change the font of captions of mainframe window,property pages and
simple dialog boxes.I am working on a SDI application.
Please suggest me the way to do it and if possible give me the snippets of code if available.
Thanks and Regards
Neeraj Sinha
|
|
|
|