|
Sorry, but I am getting out of ideas. I hadn't an scenario like yours yet, so I can not tell any solution for sure. I think that the problem is not in the Z-Position.
Is it really necessary that the listbox overlaps the listctrl? Couldn't you make it on the side and just hide and/or show according to requirements? So could be easier, as you won't need the ownerdraw styles and so on.
I personally don't like to use some controls into dialogs, for "high-level" controls I prefer to use a CFormView derived class/window.
Have you tried it? You can design them in editor as a dialog, but the functionality is much bigger. Maybe...Regards.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I have a code library that i wish to use to draw graphic objects on the view.
I dont want to use the built in functions in MFC. What must we use?
|
|
|
|
|
GDI+, please check the link for more info [^] Величие не Бога может быть недооценена.
|
|
|
|
|
There aren't built in drawing functions in MFC . There are wrappers to GDI calls.
You may use GDI directly, or as suggested, you may consider using GDI+ .
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 everyone,I develop a MFC application. I display the excel file in the view, but can't hide the file menu bar. How to resolve it.
|
|
|
|
|
I think you want to hide the menu bar of a SDI/mDI app.
If so then use
SetMenu(NULL); Величие не Бога может быть недооценена.
|
|
|
|
|
when I display the excel file in my view, the Excel's menu bar and tool bar will auto display. I want to hide the Excel's menu bar and only display the file.
|
|
|
|
|
I have to build a OCX in VC6.0,
but we have ported it to VS 2008.
But its dependent libs are already build on VS2008, so whether it is possible to build the OCX on VC6.0Ajayraj
|
|
|
|
|
The VS2008 .lib format is incompatible with the linker in VC6 - that's why you can't use a modern Windows SDK with VC6.... Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
CodeProject MVP for 2010 - who'd'a thunk it!
|
|
|
|
|
no.
in general, static libs are completely incompatible between VC/VS versions. you will need to build VC6 libraries from the source itself.
|
|
|
|
|
Hi,
I would like to write Articles here.
How do I do that?. Help me.
thanks
mridula.
|
|
|
|
|
It could be done here...[^] Check your definition of Irrationality[ ^]
1 - Avicenna
5 - Hubbard
3 - Own definition
|
|
|
|
|
|
HI all,
i m using coinitializesecurity for finding serial port.
here coinitializesecurity returned error 80010119.
i dont know how can i resolve this.
please help me for this.
thanks in advance
|
|
|
|
|
|
|
Great
|
|
|
|
|
Le@rner wrote: here coinitializesecurity returned error 80010119.
i dont know how can i resolve this.
please help me for this.
See here."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
Hi all
I am making an activex control using vc++. I want to receive the message MM_WIM_DATA so that I try the callback function for this but this callback function calls only ones so please give me some help how i use this callback function. The source code I am using as follows
Deceleration
void CALLBACK waveInProc(HWAVEIN hwi, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2);
class myclass : public COleControl
{
friend void CALLBACK waveInProc(HWAVEIN hwi, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2);
};
definition
void CALLBACK waveInProc(HWAVEIN hwi, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2)
{
switch(uMsg)
{
case MM_WIM_DATA:
OutputDebugStringA("wavein proc..............................");
break;
}
}
|
|
|
|
|
What is the problem? There is no question in your post.
-Saurabh
|
|
|
|
|
problem is that this callback function calls only ones.But I want to receive MM_WIM_DATA continuously.
|
|
|
|
|
you have to setup the callback properly. Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Hi
Can a dll have a message loop. I want to make a dll which can capture the key pressed event on a device and start doing something. Can anybody help me with some sample code as to how do that. Suppose i being the user have pressed the switched off button on the mobile(Windows Mobile) and my dll is working in the background . So how can i make my dll aware that a key has been pressed and I have to do something according to the pressed key.
Thanks in advance!!!!!!!!!!!!
|
|
|
|
|
You'll need to install a keyboard hook for that. However, post your query in the mobile development forum[^] as people there may be able to help you with more details.
“Follow your bliss.” – Joseph Campbell
|
|
|
|
|
Can you help me with some code as I am not very aware of this keyboard hook.
|
|
|
|