Search:
Type: Posts; User: pdk5
Search:
Search took 0.03 seconds.
-
January 24th, 2024, 01:55 PM
Hello experts
I found the workaround for this.
VS still doesnot show the const expr local variables via debugger.
Thanks
pdk
-
September 8th, 2023, 06:36 AM
Hello,
Ive a legacy combobox of CBS_DROPDOWN type.
And somehow, user typed value is not getting updated.
I tried to write a small example code in VS2015, where, the event handler doesnot...
-
February 21st, 2023, 05:52 AM
Thankyou Kaud, yes ie why I asked here, as I know this may be trivial. But you and this forum, just not solves them, and helps with lot of info.
Thanks a lot again for your time and patience
-
February 21st, 2023, 02:30 AM
Thankyou very much kaud for the reply and inputs . Helped me a lot.
Yes, i found that solution is geeksforgeeks.
Thankyou very much for the nice solution. We currently moved to visual studio...
-
February 20th, 2023, 04:33 AM
Also i found an issue, if i pass "0", the while is infinite loop. May be for loop till the number of bits is better (which breaks, if "1" is encountered)
-
February 20th, 2023, 03:00 AM
Hello,
I was trying solve the above problem. I came across a solution in the google:
// C++ program of number of leading zeros in
// binary representation of a given number
#include...
-
February 17th, 2023, 09:47 AM
Currently Im getting compile error, CLSID_AddObject not defined in the Exports.cpp file. :::
I guess I know this answer, as I need to register the COM object.
As per the instructions, the...
-
February 17th, 2023, 09:30 AM
I found one issue and fixed it:
In the AddObj.cpp, the static_cast target type was missing and I added the following and made that file compile.
HRESULT __stdcall CAddObj::QueryInterface(
...
-
February 17th, 2023, 08:31 AM
Thankyou very much Victor for looking into this.
Yes, even i couldnot download them, as i mentioned in my post. So I tried to cut paste the code to my VS and compiled. I could use the MIDL, and...
-
February 17th, 2023, 06:05 AM
Hello All,
I was trying to implement the following COM tutorial using the visual studio 2022.
https://www.codeguru.com/soap/step-by-step-com-tutorial/#Intro
But getting some issues.
Also the ...
-
January 22nd, 2023, 10:30 AM
Hello,
The DrawText related q's !. With the help from this forum, i had got things working ok :). Thankyou very much :)
I am removing the code as I got soln myself and as the code may be...
-
January 12th, 2023, 09:50 AM
Btw, Now the background color changes for the entire rectangle with the followig code change.
void EmfCellListRend::DrawRectangle(EmfCellListRendDrawingParams* pParams, TDC& dc,...
-
January 12th, 2023, 09:07 AM
Hello,
I have the following code:
I am trying to change the background colour for the rectangle (of the DrawText), but the background colour only comes when there is text in the rectangle.
...
-
January 12th, 2023, 08:50 AM
@ovidiucucu : Thankyou very much for the comments . You being expert in this area, felt so bad about legacy code, you can think of my situation :cry:
I will add a new topic for this issue :)
...
-
January 12th, 2023, 05:54 AM
@ovidiucucu : Thankyou very much. I will go through this and try this idea. Just wanted to say, thankyou very much for your valuable time and patience in helping me. Really appreciated
-
January 12th, 2023, 05:35 AM
@ovidiucucu : Thankyou very much for the help. And yes, the help with the book, which i will try to read.
@kaud : Thanks for the help and reference books.
Btw, sorry for the delay.
I am yet to...
-
January 8th, 2023, 05:51 AM
Thankyou very much kaud, ill check..
I also need to make sure the co-ordinates need to match the screen co-ordinates :confused:
-
January 8th, 2023, 05:24 AM
Sorry, but I actually donot understand the legacy concepts .. (but i was told, some code, still inherits from owl :confused: ).
Btw, now i am trying to see if i can use the ScreenToClient to move...
-
January 7th, 2023, 11:25 AM
Btw, Im trying to position the rectangle, on parent dialog at the top right. Then the issue is , i donot know the size of parent dialog. :mad:
36062
-
January 7th, 2023, 10:28 AM
Thankyou kaud :)
Were using visual studio . Mostly MFC, but there is legacy owl still there. Not sure how VS handles that :)
-
January 7th, 2023, 08:01 AM
Thankyou very much. (somehow my email is getting filled with spam and not getting notify when there is response, i need to sort that out.) sorry for the delay.
ovidiucucu : I tried the new font...
-
January 6th, 2023, 03:26 AM
@ ovidiucucu, Victor Or Arjay, could you please help with how to convert the owl context TDC to MFC drawing context. The above code doesnot change the font.
-
January 5th, 2023, 02:13 PM
I tried to the following way : But it didnot work ( means font remained unchanged)
void EmfCellListRend::DrawRectangle(EmfCellListRendDrawingParams* pParams, TDC& dc, CEmfCellList...
-
January 5th, 2023, 12:40 PM
Thankyou very much Victor. I tried to extract the HDC from the owl context.
But somehow it doesnot work
HDC hdc = dc.GetHDC();
CFont* pCurrent = hdc.GetCurrentFont();
LOGFONT lf ;
-
January 5th, 2023, 10:32 AM
@ovidiucucu : Thankyou very much. Sorry i missed the above post.
Btw, I had my drawtext working with the following code:
void EmfCellListRend::DrawRectangle(EmfCellListRendDrawingParams*...
|
Click Here to Expand Forum to Full Width
|