|
OK. I looked a little more and it does appear that it's an optional add on. So it would appear that if you don't want to be bothered with installing anything, then you either use the .NEt API's or the raw Crypto API.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
Save an Orange - Use the VCF!
VCF Blog
|
|
|
|
|
New appended menu items are disabled, though I've used MF_ENALBED.
What I want to do is like this:
Get strings from the database, then append menu items using these strings.
When I select the string in the menu, I can get the string when processing the command. In fact it is simple, but I think MFC makes it harder. Any easy way there? Thanks very much.
-- modified at 20:05 Wednesday 7th November, 2007
|
|
|
|
|
followait wrote: though I've used MF_ENALBED
how? We don't know what you did if you don't post some relevant code.
followait wrote: Any easy way there?
I have no idea what you would consider "easier" ... maybe this [^]that I found hidden in the documentation
|
|
|
|
|
led mike wrote: I have no idea what you would consider "easier" ... maybe this [^]that I found hidden in the documentation
Yeah, but that's not fair, Mike. You actually had to search for that, which takes time and effort. Hardly something that is considered easy.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
DavidCrow wrote: Hardly something that is considered easy.
Ahhhhhhh I can't take it any more aaaaaarrrrrrrrggghhhhh
|
|
|
|
|
led mike wrote: aaaaaarrrrrrrrggghhhhh
You've got the pirate sounds down pat. Now let's see how you fare at the fishing part.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
DavidCrow wrote: Now let's see how you fare at the fishing part.
I have no time for fishing, just standing on the pier giving directions to McDonalds all day.
|
|
|
|
|
Arrr...thar be good fishin at the mcds this fine day...arrrr.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
I don't know about "good" but there seem to be plenty of flounders around today.
|
|
|
|
|
I'm guessing MFC is "helping" you by disabling menu items that there's no
command handler (or enabler) for.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Did you declare any event for these items?
|
|
|
|
|
Im not sure about the relevance in your problem, but a menu item that is not related with any function is always disabled. If you append the items to a menu, but you dont connect it with any called function / message... I think you won't be able to have them enabled
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
|
|
|
|
|
Hello everyone,
I am using Visual Studio 2005 to debug a Pocket PC 2003 application on Poacket PC 2003 SE Emulator (I am using ARMV4 architecture). When using F5 to execute the application, the break points I have set before debug (F5) becomes, the information from the break points is,
--------------------
The breakpoint will not currently be hit. No executable code is currently loaded at this location.
--------------------
I am setting the break point to the 1st line of main function. I am wondering what is the check list to solve this issue to make the application debuggable?
thanks in advance,
George
|
|
|
|
|
oh, a question...
don't you owe me an answer first ???
|
|
|
|
|
(1) i want to change a 32bits color bmp image into 8bits color bmp image,
anyone who has the source code?
(2)as to 24bits image, one pixel has 3 bytes, the 3 bytes respectively is the B ,G,R value, how about the 32bits iamge? from low byte to heigh byte , what is the value of the 4 bytes?
thanks
|
|
|
|
|
Lao Wang wrote: what is the value of the 4 bytes?
RGBA. A = alpha = transparency
the only free RGBA to 8-bit code i'm aware of is part of one of the LibPNG utilities.
|
|
|
|
|
hey Chris Losinger, i only know the concept of alpha, but would you please give me the detail explain of it? why 32bits iamge has the alpha value?
as your reply, the sequence for the 4 bytes value of every pixel is R ,G, B, A, but i did an example, only the sequence is A, B , G ,R, the output image is well, what is the matter?
thanks !
|
|
|
|
|
Lao Wang wrote: why 32bits iamge has the alpha value?
the alpha byte controls the transparency of that pixel - it allows the background to show through that one pixel.it's useful if you want to create images that can blend with their background, or that don't have straight edges.
Lao Wang wrote: only the sequence is A, B , G ,R, the output image is well, what is the matter?
the actual order will depend on the application or API that creates or uses the image.
|
|
|
|
|
i have changed the Alpha byte for some values, but the image displayed has no change, when does the alpha byte value work?
|
|
|
|
|
how are you drawing it? many drawing APIs do not pay attention to alpha values.
|
|
|
|
|
Chris Losinger wrote: RGBA.
It's not BGRA?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
only if you're talking about DIB/BMPs. the rest of the world gets the order right
|
|
|
|
|
|
|