|
Try to stack trace in debug mode and find out from where did it originate or from which function in your app did it start. It will help you and us.
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
-- modified at 3:12 Tuesday 3rd January, 2006
|
|
|
|
|
It seems that you are trying to call some data exchange function while control is not yet created (e.g. you can't do that for a control in dialogs constructor, because control is not yet created). could it be that you are calling UpdateData(TRUE) in dialogs constructor? if so, try to move that code to WM_INITDIALOG handler (OnInitDialog). however, this is just a wild guess without your code.
|
|
|
|
|
|
I want to implement a PDF Image file as multipage where each page consists of one image.Can you send the source code for the above.
Thanks & Regards
Ramnath
Ramnath Panda
|
|
|
|
|
I think you will need to save your image files as TIFF files first, then they will be easy to concatenate, and then convert to PDF . LibTiff does that. Search for LibTiff and download it. It has various tools to concatenate tiffs , convert to pdf etc.
You did not mention to convert what format files to PDF . If they are tiff files, then half the work is done. If they are another format, then you could use CxImage (search for it on this site) to convert them to tiff first, then use LibTiff on them.
this is this.
|
|
|
|
|
hi all,
i want to split the MainFrame wnd of MDI app.i am able to split the CChilkdframe but CmainFrame in mDI app i am not..
i tried using OnCreateClient in Mainfrme.cpp but its giving assertion errors.
can anyone help me its very urgent..
thanks
Gets
|
|
|
|
|
I don't think you can do that. You can only split MDI child windows not MDI parent window.
Hope I got your question right.
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Yup,
you gotmy question...
i wanted it to look something like Query Analyser of Sql Server..
means exploreer on left view and a document on the right side
can u throw some light on this
thanks
Geeta
|
|
|
|
|
Why do you need an MDI for this.
Just a simple frame inherited from CFrameWnd.
Split it up and assign it different views in different panes.
You can have nested panes.
Take a look at IdFromRowCol function.
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
u mean to say hve simple SDI app and split it up
and then assign diff views to it ..
ok i tried that..
how to kep the right pane empty.. i mean it should hve anything..especially that white colour background
thanks
Geta
|
|
|
|
|
geeta_patil wrote: how to kep the right pane empty
Just have an emtpy view.
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
hey i'm noticing it now only. you have slimmed down like me!![b] now we both look similar with our color,weight and marquee!! cheers
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
T-1000 wrote: you have slimmed down like me
Yeap. You've got it buddy.
This one's cool.
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
Ive seen lots of examples of completely rewritten tab controls, but has anyone done what should be a relatively simple override of CTabCtrl::DrawItem and called the XP theme functions? I just want an XP looking tab control where I can change the text color of certain tabs, but cant get the drawing to look right
|
|
|
|
|
An option is...
HiglightItem(nTabNumber, TRUE); //To Turn on highlighting
HighlightItem(nTabNumber, FALSE); //To Turn off highlighting
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
HI,
There are two classes A and B as follows
class A
{
public:
update_host(CString hostname);
}
class B
{
public:
get_hostname();
}
The get_hostname() gets the hosts name and then calls update_host as folows
A aobject;
aobject.update_host(CString hostname);
now this is what i do in update_host(CString hostname)
update_host(CString hostname)
{
m_hostname=hostname;
UpdateData(FALSE) //to update the value in the edit box.
}
now,when i execute it,i get the error saying
Debug assertion failed.
file:wincore.cpp
line:3095.
Please help in this regards.
Thank you.
HEllo
|
|
|
|
|
harshandu wrote: UpdateData(FALSE) //to update the value in the edit box.
I am taking assumption that Class A is CDialog Drived Class, have you checked, that Dialog Box is Visible State at the time UpdateData() is called?
As if the dialog Box is not created before call of UpdateData, the dialog box application likly to crash.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Does Win32 console based application supports WinMain and WinProc
phani
-- modified at 1:27 Tuesday 3rd January, 2006
|
|
|
|
|
AFAIK, No.
The presence of WinMain and WinProc is what differentiates a Win32 app from a Win32 console app. A Win32 console app has got the main()-func.
Kakan
|
|
|
|
|
What directories are searched for executables when we run a program from Start->Run
dialog box?
It starts MS Word if I just give "winword" in the Run dialog, but my environment variable
PATH does not have the directory "C:\Program Files\Microsoft Office\OFFICE11" which
has winword.exe. Anyone knows how this works?
thanks!
|
|
|
|
|
I think it searches HKEY_CLASSES_ROOT\Applications. This is the registry key for all applications currently installed in the system.
These are the applications that are listed in the open with dialog box.
So this could be it.
Jesus Loves You and Me <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
|
Please help me with my problem.
When I add a MessageBox on OnChange Handler of DateTimePicker and click on the previous and next month scroll button during runtime, the DateTimePicker keeps on changing date. How can I fix this problem?
|
|
|
|
|
Hey Everyone,
Can anyone give me some direction on the best way to detect if a program is starting a setup/installation process for a windows XP machine? I'm assuming that a hook is the best way to intercept the event, but what can I look for? Is there a specific message event or anything that I can look for, a function that always needs to get called when software is being installed?
Any help would be greatly appreciated.
-- Fernando
|
|
|
|
|
hello everyone...
i want to make a security project that gives the ability to control hardware parts...what i mean is that i want to click a button and the computer no longer sees the usb port and/or the device attached to it as if it's not even plugged(not disable or uninstall it's more like total invisibility)...this also contain not only usb, but ide , scsi , raid controllers etc...
this way no one can connect his "parasitic" drive or what ever you want to call it to my pc...
i think there's another aproach for this(beside the hiding) which is the "accesss denying" i don't know if this way can prevent the system from detecting these peripheral parts...
i tried to look for this kind of articles here in codeproject but i wasn't lucky...
i also tried to get something from my vs-msdn documentation and i found under "Platform SDK: Windows Management Instrumentation" Win32_IDEController and Win32_USBController but i found it really hard and confusing...if this is the right place for documentation please someone make a sample program so i can learn from it...
thanx a lot..
|
|
|
|