I'm kind of new to the M(other) F(*cking) C(lasses), sorry MFC, ;-] but
please bare with me.
I'm trying to get a bundle of controls ( in a Property Page with Wizard
style) to keep synced
with each other. One thing that's giving me a headache is the
comboboxes. I have a combobox
of drop list style that I need to set from a handler for a message
generated by another control.
I wan't the editbox, which as I gather isn't really an edit box in this
case because of the style, to
either be blanked or set to one of the strings in the drop down. I can't
seem to manage this!
I've tried SetWindowText(""); FindString() SetEditSel() followed by
Clear() but to no avail.
What's the deal?
PS Sorry about the obceneties, but I guess I'm not the only frustrated
MFC programmer so I hope
you understand, or am I?
Oh, migth as well go on a bit as I have your attention. I get the
feeling that MFC, or at least the
app studio kind of hides away way too much to make it really useful. I'm
I right or am I lost?
It might be that I haven't gotten the hang of OO and event driven stuff,
but there are loads of
useful events that the class wizard hides, like for example BN_CLICKED
in a CListBox.
You can get at it if you subclass CListBox, but you don't get much help,
It seems you have to know loads about everything when coding with MFC,
and you still
have too look more in the online help than on the code you're writing,
as there are more
exceptions than rules as to how different commands work what you can do
Supposing that I'm not a complete git, will it ever be "easy" or
intuitive to write code in MFC?