|
|
yar i simply ask question
that how can i put button on border of dialog box
and i want ti insert a border in the bottom of dialog box
this vc++ question
if there is any problem then i am sorry yar
but plz yar tell me some example .......
its important..............
Ashish Dogra
MCA
Noida
|
|
|
|
|
I think you asked this question yesterday,right?and i answered to you
whitesky
|
|
|
|
|
no answer yar
that was simply with yes option that you can do that
but i want some example or code for this plz ... solve the problem
Ashish Dogra
MCA
Noida
|
|
|
|
|
no body want to tell me
yar plz do answer my qeuestion
Ashish Dogra
MCA
Noida
-- modified at 7:42 Thursday 6th July, 2006
|
|
|
|
|
well, i think my post wasn't understood at its correct sense. here are the points i want to show :
1. Speak a proper english. Codeproject is an international forum where people from many coutries meet there, and most of them don't speak english as their mother tongue (so do i).
2. stop your SMS-ed post.
3. ask for a specific point ; don't expect anyone to do the job you cannot do yourself, just because you're too lazy to google a bit
4. have respect for the ones who are to answer you. no one owe you anything, ,simply because no one here is paid for helping. we do it at free time, for pleasure.
5. be patient. forums are cross by hundreds of valuable developers, but if no one understand the question, or if no one know the answer, it is commonly bad seen to spam the boards.
6. as i'm talking about spam, stop asking the same thing again and again. ask it once, clearly, and wait ! if you have to answer to a reply, the do it on the same thread. no need to start a new one, especially if it deal with the same topic.
now, at least, i hope you understand better what i meant.
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
ok iam sorry ..................
Ashish Dogra
MCA
Noida
|
|
|
|
|
Could you pls stop these "plzzzz" or can you reduce the amount of "Plzzz" in your question. seems very awkward. I tried to mail you personally but your mail iD is not verified yet.
Please take this positively.
SaRath.
"Where I am from, there is no plan B. So, take advantage of today becuase tomorrow is not promised. - 50 Cent"
<blink>My Blog | Understanding State Patte
|
|
|
|
|
MAIL ME AT JUST_CHILL456@YAHOO.COM
Ashish Dogra
MCA
Noida
|
|
|
|
|
i'm having a problem linking my program to the library using Visual C++ 6.0/MFC an someone help me?
i went to Project-> Settings, selected "Link" pane, entered the path of where the Library is (Settings For : All Configurations)... but i still cannot link them together why is tat so? pls help me
Thanks
Best Regards
|
|
|
|
|
Maybe you have to specify the name of the library file in the Object/Library modules field too?
|
|
|
|
|
sorry i've no idea what's that.... can u guide me to that?? sorry! i'm still new to this program
|
|
|
|
|
SORRY~!!!!! what i want to ask is: How do i link library to my program.. SORRY~~~ Posted wrong question just now........ PLEASE HELP URGENT~!!!!
THANKS IN ADVANCE
-- modified at 5:43 Thursday 6th July, 2006
|
|
|
|
|
We suppose you got linking errors and you need to link you program with a library file, for example "C:\MyLibraries\Library1.lib". In this case go to Project Settings --> Link --> Category: Input and enter "C:\MyLibraries\Library1.lib" in the Object/library modules field. Then build the project.
Otherwise give us more details about your problem.
|
|
|
|
|
solve my problem
as nobody solve this one
Ashish Dogra
MCA
Noida
|
|
|
|
|
hi virol
pls solve my problem
as i made a dialog button on which i made button
so now i want when press one button the value on this button appears on edit box
and values on edit box storesin order 12344...manner
thanks
Ashish Dogra
MCA
Noida
|
|
|
|
|
how can you change the back color of a dialog after its been open?
i know how to do it before it open.
|
|
|
|
|
u can change it using
afx_msg BOOL OnEraseBkgnd( CDC* pDC );
Regards,
FarPointer
Blog:FARPOINTER
|
|
|
|
|
OnInitDialog()
you GetDC and Change Background
CBrush brush_background(RGB(255,0,0));
CDC* pDC = GetDC();
// Get rect
and use pDC->FillRec(rect, &brush_background);
Huynhnb
.: Your success is also me :.
|
|
|
|
|
Dear Huynhng,
I am able to Show the CFormView from CDialog but i am seeing the CFormView with in CDialog. I want to show the CFormView as a Separate Window/Frame.
here is the code as you told.
//==================================================================
CFrameWnd *pMainFrame = (CFrameWnd*)RUNTIME_CLASS(kiranfrm)->CreateObject();
CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(IDI_ICON1,
RUNTIME_CLASS(kirandoc),
RUNTIME_CLASS(kiranfrm),
RUNTIME_CLASS(kiran));
CCreateContext sContext;
sContext.m_pCurrentDoc = (CDocument*) RUNTIME_CLASS(kirandoc)->CreateObject();
sContext.m_pCurrentFrame = NULL;
sContext.m_pLastView = NULL;
sContext.m_pNewDocTemplate = pDocTemplate;
sContext.m_pNewViewClass = RUNTIME_CLASS(kiran);
CString strClass= AfxRegisterWndClass(CS_VREDRAW|CS_HREDRAW, ::LoadCursor(NULL, IDC_ARROW), (HBRUSH)::GetStockObject(WHITE_BRUSH), ::LoadIcon(NULL, IDI_APPLICATION));
pMainFrame ->Create(strClass, _T(""), WS_CHILD, CRect(0,0,1,1), this, NULL, 0, &sContext);
pMainFrame ->MoveWindow(200,100,300,300);
pMainFrame ->ShowWindow(SW_SHOW);
//===========================================================================
Please help me Out. It is very Urgent.
uday.
|
|
|
|
|
Ok! i think you want to show Frame contains view is Formview. Yes/No?
You can folow step to show fromview form Button Click
You can use LoadFrame to show frame contain CFormView.
void CShowFrameDlg::OnBnClickedButton1()
{
// TODO: Add your control notification handler code here
CFrmView *pFrame = new CFrmView();
pFrame->LoadFrame(IDR_MENU1, WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE | WS_VISIBLE, NULL, NULL);
}
View of CFrmView is CFormView.
Dialog of CFormView set as Child.
---
Good luck
Huynhnb
.: Your success is also me :.
|
|
|
|
|
hi Huynhnb,
you are really genius. You have solved the Problem and i Got It.
thanks a lot for the solution.
uday.
|
|
|
|
|
You can WM_ERASEBKGND Or WM_PAINT or WM_CTLCOLOR
whitesky
|
|
|
|
|
Hello!
I think I have a problem with socket communication!
Sometimes I get an error message: 'An unknown error occured while accessing an unnamed file'. After I confirm this message I sometimes get following message: 'Server connection closed unexpected' (German: Serverbindung unerwartet beendet), and after confirming this message my program crashes.
This program is runnung on Win2000 and Win2003 server. It uses CSocket to communicate with a client. The CSocket is created with default parameter. The communication runs with CSocketFile and serializes CObjects.
First I thought this message occurres, if I start a remote control session with VNC. But I am not sure now.
Has anybody experience with this error, or can help me how to locate it.
Thank you!
|
|
|
|
|
Hi ,
I have a dialog based win32 application .In that dialog i need one read only edit box without border with printing the text in blue color(some other color)in that edit box.How to do this....
can we do it in edit control or should i use rich edit control ...
Manjunath S
GESL
Bangalore
|
|
|
|