|
This message seems strangely familar...
You might want to wait a *bit* more than 4 hours before reposting!
Iain
Codeproject MVP for C++, I can't believe it's for my lounge posts...
|
|
|
|
|
Sorry..!!
|
|
|
|
|
Don't worry about it too much - by the neature of these forums, you'll get a lot of first time posters.
Good luck with your original question.
Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...
|
|
|
|
|
How many OPEN record set objects (CRecordSet) pointing to an MS-Access2k database can we have in an application?
OS:WinXP SP1
- Tanmay
|
|
|
|
|
[^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hello,
I'm trying to develop a c++ application and please i would know how to set the font of my popup menu.
If there is someone can help me.
Thank you.
|
|
|
|
|
Try using ownerdrawn menu items.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
As code-o-mat hints, there is no SetMenuItemFont or SetMenuFont command. And there's no font property of the menu resource type.
You'll have to do some owner-draw menu stuff, which can be painful. Luckily, there are several good articles on codeproject that can help.
I did think that you could change the menu font using SystemParametersInfo temporarily, but that is (a) fragile, and (b) might change the font the menu bar at the top of all the window... so not such a good solution, just for a pretty menu.
Good luck, you've got a bunch of work ahead of you!
Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...
|
|
|
|
|
|
|
No, i would just to modify the font of my menu which is identified in ressource file
|
|
|
|
|
Hi,
I am using spin control. The message map "ON_NOTIFY" for spin control is not supported by 9x OS. The build environment used is Windows 95 DDK. How to solve this problem??
|
|
|
|
|
There are several viable options, which includes, but not limited to using third party UI tools like CodeJock UI library, which works even on Windows 95.
But I'll recommend upgrading to your OS to a minimum of Windows 2000. Trust me, you'll see a whole new, brighter world.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Please can u tell me any one of the way to support spin button control even for Window 95 DDK build environment. Because ON_NOTIFY message is showing as undeclared identifier by windows 95 build environment.
|
|
|
|
|
I am not certain about your scenario. But trying to use WM_NOTIFY may help you.
- ns ami -
|
|
|
|
|
Actually I have used ON_NOTIFY_RANGE message map for other os and it is working fine. But same thing when I used it for 98x. While building itself it is an error as displayed as undeclared identifier for both ON_NOTIFY_RANGE and CSpinButtonCtrl class.
|
|
|
|
|
I think you can use WM_NOTIFY[^]
See the internals of ON_NOTIFY_RANGE in C:\Program Files\Microsoft Visual Studio\VC98\MFC\Include\AFXMSG_.H
#define ON_NOTIFY_RANGE(wNotifyCode, id, idLast, memberFxn) \
{ WM_NOTIFY, (WORD)(int)wNotifyCode, (WORD)id, (WORD)idLast, AfxSig_vwNMHDRpl, \
(AFX_PMSG)(void (AFX_MSG_CALL CCmdTarget::*)(UINT, NMHDR*, LRESULT*))&memberFxn },
- ns ami -
|
|
|
|
|
I have added Vertical ScrollBar to my Dialog.I have added variable m_ScrollBarto to it and set its range.
m_ScrollBar.SetScrollRange(0,10);
I have to add Eventhandler to ScrollBar.How to add WM_VSCROLL message map
to it.If I press ctrl+w class wizard is not coming.How to open Class wizard Dialog Box. Can anyone suggest me.
|
|
|
|
|
On Class Wizard select the Dialog name in the Object ID list box and then double click on WM_VSCROLL in the Message list.
This will help you in creating an event for VScroll.
|
|
|
|
|
How to open Class Wizard.In the view option of Visual Studio Class view is
there. I have not find Class Wizard anywhere.If I press ctrl+w It is not showing any window.
|
|
|
|
|
Right Click on the dialog and select the ClassWizard or in the View Option of the main menu ClassWizard is available.
|
|
|
|
|
|
hi!
I think you may use Visual Studio 2005?
If what you are using is VC6.0,you could press ctrl+w to add it.
If it's not VC6.0, you could click the class that includes the memeber m_ScrollBarto, and click the option "Message" of the "Attribute Bar", which is docking in the right side of the screen.
And at the list of the "Message" option, you can find the WM_VSCROLL option!
|
|
|
|
|
Hi all,
I am using create process function to open a jpg file using ie in WINCE...
CreateProcess(_T("\\windows\\iesample.exe"),imFullPath, NULL, NULL, FALSE, NULL, NULL, NULL, NULL, &processInfo1);
where imFullPath is the path for a jpg file.
For opening the next jpg file,i am using create function() onemore time.
Also it is opening in a new window.
I want to open all jpg files in the same window one after the other like a slideshow.
Thanks in advance.
|
|
|
|
|
For each file you use of CreateProcess?
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|