Search:
Type: Posts; User: Arjay
Search:
Search took 0.91 seconds.
-
Take a look at the lvselstate sample here: https://forums.codeguru.com/showthread.php?565179-ListCtrl-in-MFC&p=2238400#post2238400
-
January 15th, 2021, 08:53 AM
What overly complicated code. Create a modeless dialog. Make its parent window the main app window. Store the pointer to it in the AfxApp (so you can access it from anywhere). Expose a method that...
-
January 13th, 2021, 01:10 AM
UI with C++ and MFC, COM, to name a few.
-
January 11th, 2021, 12:02 PM
-
January 9th, 2021, 03:30 AM
Dude, you are stuck in old technology. Microsoft has moved on. Maybe you should too?
-
January 8th, 2021, 09:22 AM
When you shell out to start Excel, you are essentially opening the Excel file like it would be using Windows explorer. Well, the process isn't exactly the same, but the end result is the same - you...
-
January 7th, 2021, 02:38 AM
Do you have Excel installed on your development machine? Are you running on a 64 bit or 32 bit OS? If 64 bit OS, are you compiling for 64bit or 32bit?
-
January 5th, 2021, 08:37 PM
Are you missing an assembly referencs or nuget package?
-
January 5th, 2021, 08:32 PM
Are you aware that since about 2015 or so Microsft has offered free Visual Studio Community Editions?
As far as backward compatibility, it might be too much to ask for Microsoft to keep current...
-
January 3rd, 2021, 12:38 PM
Oh wait, you mentioned homework and preparing for an interview.
-
January 3rd, 2021, 12:35 PM
I'm not asking you to copy and paste code, I'm asking you to type in the code line by line and think about it while you are typing it.
Then, once the code compiles and runs, step through the code...
-
January 2nd, 2021, 04:36 PM
Haven't seen the video, but why not code it up as instructed and then step through the code in a debugger?
Imo, there's no better way to learn unknown code than to step through it line by line to...
-
January 2nd, 2021, 09:20 AM
-
January 2nd, 2021, 09:17 AM
Does it matter? Keep in mind that folks here are trying to help you.
There isn't much to intercepting the select change event. You need the body of the handler and you need the code that wires up...
-
January 2nd, 2021, 08:50 AM
Post the code where the ComboBox1_SelectedIndexChanged event handler is wired up to the control.
-
January 2nd, 2021, 08:47 AM
You have control over the list, if you can't figure out how to insert an item at a specific position, then delete the items and reinsert them.
-
January 2nd, 2021, 08:43 AM
The idea is, at least on Windows, is for user level apps should not be directly accessing the hardware, but should access hardware through a device driver.
Microsoft has been steadily locking this...
-
January 2nd, 2021, 03:41 AM
Have you put a breakpoint inside the ComboBox1_SelectedIndexChanged handler to see if it fires at all?
-
January 2nd, 2021, 03:38 AM
Either disable the comboboxes, or remove items that shouldn't be selected.
-
January 1st, 2021, 09:43 AM
Why the quest for using undocumented APIs? Is writing fragile, unsupported code a 'thing'? Given 2020 wasn't all that great, let's kick off 2021 in the right direction - let's try to color inside the...
-
December 31st, 2020, 09:48 AM
Why not use an exposed api to "find out something about the fpu"? Then asm is not required.
-
December 29th, 2020, 09:29 AM
-
December 29th, 2020, 09:24 AM
Yes, there is a setting. Probably under options/editor.
-
December 25th, 2020, 05:25 PM
It's the next evolution of using the list control
1) The first is just copying the data into the control
2) The next is getitemdataptr/setitemdataptr (items are still copied into the control, but a...
-
December 25th, 2020, 04:48 PM
I've updated the project to VS2019 (sorry I don't have VS2015 installed, and the 2019 community edition is free, so why not use the latest?).
For something that was written 16 years ago, upgrading...
|
Click Here to Expand Forum to Full Width
On-Demand Webinars (sponsored)
|