|
Hey thanks, that's really helpful!
Joel Holdsworth
|
|
|
|
|
Joel Holdsworth wrote: thanks
Your welcome.
Personally I compile my help files with the release builds. Save a few of my hairs from going gray (as a result of using HTML Work Shop Crap wear).
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
hi,
when i build my proj i got the error
playfile.obj : error LNK2001: unresolved external symbol _IID_IBasicVideo2
how to resolve this
regards,
gansjob
|
|
|
|
|
You hqve to link with the appropriate library in which this symbol is defined.
Go in the project settings, linker tab, input category and add the library name in the 'Additional Dependencies' option.
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
but i don't know which lib to link
|
|
|
|
|
|
From where are you using this thing ? If it in the MSDN then there is a descrption of which library is required to be linked to.
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
Hi all,
When i'm satisfied of my application,
what should i do in order to create an installation
package so that others can install my application ?
Thanx in advance,
Desmo16.
|
|
|
|
|
use any tools to create installation and u can give it others
ex: install pro
Trinainee
|
|
|
|
|
is there an ambedded function inside visual studio .net to do that ?
|
|
|
|
|
sorry, i don't know about that but i used install pro software to create installation package
Trinainee
|
|
|
|
|
|
Hi,
I use Nullsoft Scriptable Install System (http://nsis.sourceforge.net).
You can also use it to pack commercial applications for free
Cheers,
Ramon
|
|
|
|
|
hey guys......
In my proj,
I have a form view page(say, "Form1") with various controls. On clicking a tool bar(say, "New dialog") control , a new dialog page pops/opens up.
and On opening this new dialog page, i want the edit controls in that dialog page to be updated with some values.
how do i do this?
if I do
#define WM_INFO WM_USER+10
I understand these are private messages, but
how and when does the message gets passed on to the respective message handlers? will this help in doing the above.
I create ON_MESSAGE(WM_INFO, OnUpdateInformation) in the cpp file
but how does it work?
Can anyone help please?
thanks in advance.
|
|
|
|
|
I think you can do the filling of edit box with values in OnInitDialog function. that is the best way.
Messages are using for notification with parameters(LPARAM,WPARAM).
You can use SendMessage or PostMessage to invoke that application (see MSDN for difference between PostMessage and SendMessage).
e.g
#define SHOW 1
#define HIDE 0
ON_MESSAGE(WM_INVOKE_CHILD, OnInvokeChild)
OnInvokeChild(WPARAM wParam, LPARAM lParam);
{
if(SHOW == wParam)
m_childWnd->ShowWindows(SW_SHOWNORMAL);
else(SHOW == wParam)
m_childWnd->ShowWindows(SW_HIDE);
}
you can use either param to pass the values
See MSDN for more information.
http://msdn2.microsoft.com/en-us/library/0812b0wa.aspx[^]
SaRath.
"It is your attitude, not your aptitude, that determines your altitude - Zig Ziglar."
My Blog | Understanding State Pattern in C++
|
|
|
|
|
Use ClassWizard (Ctrl+W) to create a CEdit member variable for each of the edit controls. In the dialog's OnInitDialog() method, call SetWindowText() with each CEdit -derived variable.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
hey I have created CEdit member variable for my control. But I dont find OnInitDialog() method in my dialog.cpp file. Isnt OnInitDialog() automatically generated by classwizard?
how do i include OnInitDialog()?
-- modified at 23:22 Wednesday 28th June, 2006
I create the dialog using DoModal()
|
|
|
|
|
thathvamsi wrote: Isnt OnInitDialog() automatically generated by classwizard?
Yes. I've never seen it not be generated.
thathvamsi wrote: how do i include OnInitDialog()?
Via ClassWizard.
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
how we get the IDs of the menu items
ram.
|
|
|
|
|
<br />
CMenu m;<br />
m.GetMenuItemID(pos);
whitesky
|
|
|
|
|
Hi
I have a CTabCtrl in a resizeable dialog and it flickers a lot if I resize the dialog. Any ideas, e.g. make it an owner draw control?
/M
|
|
|
|
|
See Here[^] maybe it is some helpful to you
whitesky
|
|
|
|
|
thanks. Indeed I am going owner-draw now.
|
|
|
|
|
Very good.
|
|
|
|
|