|
hey u know a lot!!!
i am in ganga shopping complex sec 29.....
|
|
|
|
|
smartymanav wrote:
am in ganga shopping complex sec 29.....
So u are in birlaSoft
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
do u live nearby!!!!
no actually birla soft is also here...
i am in stpi only....they have a training division....they give out projects there
byeee
|
|
|
|
|
hey do u live near by!!!!
ya u r rite...birla soft is also here but i am in stpi only
they have a training division and they give out projects here
byeeee
|
|
|
|
|
smartymanav wrote:
hey do u live near by!!!!
Nope Work NearBY
smartymanav wrote:
they have a training division and they give out projects here
Ok nice
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
|
smartymanav wrote:
where????
Thats Secret
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Your post is a little confused.
Do you want to populate each form with data from the matching database table or do you want to select data from multiple tables and display in one form?
Which Database classes are you using? CDatabase? ADO?
I recommend you use ADO, which you can use your ODBC connection with.
Have a look at these classes[^], as they'll make it easier.
Michael
CP Blog [^] Development Blog [^]
|
|
|
|
|
thanks a lot Micheal
i am usinf Cdatabase
ya i want to actually carry out both these jobs....i have 3 forms one each for the 3 tables...for eg student form for student table...but student form will have link to the course form and will be linked by courseid....u r getting it na....
and similarly fees table will b linked to student by regno field...
and i am not able to populate data in the usual way i do it for one table...
consider the foll:
RFX_Text(pFX, _T("[Student].[FatherName]"), m_FatherName);
this is the for linking m_FatherName varaible with the FatherName field in student table...
is this correct???
please help
thanks
|
|
|
|
|
smartymanav wrote:
i want to know that how i use the data of all the 3 tables at the same time...
Search MSDN for examples of INNER JOIN.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|
|
Hi!
What I get is a HDC with some stuff on it and all I have to do is draw a string over that like watermark. This string can be anything of any color and any angle.
After my drawing the resultant is a Postscript output.
Now I am drawing watemark string with ROP2 MERGE_PEN but the string is always on the top and the data below is hidden. Where as I want this string to be transparent so that every thing is vissible.
I have tried with different ROPS but the result is same.
One more interesting I found is
If I draw with Hatched brush then O/p is OK although it is hatched but is transparent but if I draw using Pattern Brush then it is not transparent.
Pls. let me know if there is some another way to draw a transparent text.
Thanks
|
|
|
|
|
Is there any problem with using GDI+ ? Then it's easy.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Well I dont prefer to use GDI+. Customer may not have it...
It will be great if you can suggest some way using just windows API's
Anyways I would still like to know how to do using GDI+ just for my knowledge...
Thanks
Naveen
|
|
|
|
|
Naveen_mah wrote:
Customer may not have it...
Yep, you'd have to ship it.
Naveen_mah wrote:
It will be great if you can suggest some way using just windows API's
Draw the text on black and then use TransparentBlt ?
Naveen_mah wrote:
Anyways I would still like to know how to do using GDI+ just for my knowledge...
In GDI+ you can set the transparency of a solid brush, which you'd then use to draw the text.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote:
Draw the text on black and then use TransparentBlt ?
So does that mean to make a bitmap with text and black background and then do TransparentBlt on original DC?
|
|
|
|
|
What if string is also drawn as black?
|
|
|
|
|
Well, then that won't work, I guess. You'd have to do it somewhat more manually, as in byte by byte.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
I'm not sure if this is what's causing your problem, but you might try setting the background mode to transparent before drawing your text:
int prevBkMode = SetBkMode( yourHDC, TRANSPARENT );
SetBkMode( yourHDC, prevBkMode );
Chris Richardson
|
|
|
|
|
I have already done that ...my problem is not with the background of text.
Background is transparent ...but the letters are not transparent...
Where the letter is drawn the text below it is hidden.
|
|
|
|
|
Hi...
I have two questions about Windows Services:
1) what is the life_cycle of a windows service?
2) How a program comunicate with a windows Service?
please answer to me immediately!
|
|
|
|
|
Sml_Moj wrote:
please answer to me immediately!
Is,that you signature or your order.it's look awkward!
Sml_Moj wrote:
1) what is the life_cycle of a windows service?
Life Cycle of Window Service is manage by ServiceMain function, it is entry point of service like main() for dos based c++ and WinMain for Win32
Sml_Moj wrote:
2) How a program comunicate with a windows Service?
you can communicate via Interprocess communication because service is also a process
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
|
|
|
|
|
Control services by using the service functions such as StartService .
You can send some control commands to a service using the function ControlService .
|
|
|
|
|
Dear All,
I'm trying to add an ActiveX Control to the dialogs in my ActiveX Control Project. The problem is that I'm unable to drop the ActiveX control from the Controls Toolbar, to a Dialog in my project. I get the following error:
"Cannot drop ActiveX controls in Non-MFC dialogs."
Is there any other way i can do this?
Devoirs,
____________________________________________________________
rishabhs
I think therefore I am.
|
|
|
|
|
i want to implement non-MFC based IP address box.
i tried the following as advised by Alok when i posted the mail earliar.
i tried to implement the IP address using the following code
hWnd = CreateWindowEx(NULL,ClsName,WndName,WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, 300, 200, NULL, NULL, GetModuleHandle(NULL), NULL);
HWND IPAddrWindow = CreateWindow("SysIPAddress32",NULL, WS_VISIBLE|WS_CHILD,35,55,250,30,hWnd,NULL,NULL,NULL);
But the IP Address box is not created... only the blank base window is displayed. where am i wrong?
thanx in advance
|
|
|
|
|
ask_you wrote:
But the IP Address box is not created... only the blank base window is displayed. where am i wrong?
Where is the code, if necessary, to create the four edit controls? They are child windows of the "SysIPAddress32" window.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
|
|
|
|