Formatting CEdit
-
I have a CFormView with a large bitmap of a form. I lay an edit box on top of the form where the user would type in a value. The image of the form has a vertical line that separates the cents from the dollars. The edit box, even though its white or light shaded, covers or blocks that vertical line of the form. How can I make the edit box see-through so that you still see the background of the form in the edit box? I tried making the edit box transparent or the bitmap transparent or one transparent and the other not and no combination is working. Please any response any one can give me will be greatly appreciated. Sincerely, Danielle
-
I have a CFormView with a large bitmap of a form. I lay an edit box on top of the form where the user would type in a value. The image of the form has a vertical line that separates the cents from the dollars. The edit box, even though its white or light shaded, covers or blocks that vertical line of the form. How can I make the edit box see-through so that you still see the background of the form in the edit box? I tried making the edit box transparent or the bitmap transparent or one transparent and the other not and no combination is working. Please any response any one can give me will be greatly appreciated. Sincerely, Danielle
What about two edit boxes, one for dollars and the other for cents? Or, what about adding the vertical line to the edit box?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
What about two edit boxes, one for dollars and the other for cents? Or, what about adding the vertical line to the edit box?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
I thought about that. Two edit boxes just complicates it. You type in a number 1234 and then tab off to type in the cents. Its faster to just type in the number as is. I thought about adding a vertical line to the edit, but have not figured out a nice, simple, clean way of doing that. I found a program on the web that looks like it has the feature Im looking for. Its just a simple edit box and you can see the form in the background of that edit. If you know how to draw that line in the edit box, that would be great.
-
I have a CFormView with a large bitmap of a form. I lay an edit box on top of the form where the user would type in a value. The image of the form has a vertical line that separates the cents from the dollars. The edit box, even though its white or light shaded, covers or blocks that vertical line of the form. How can I make the edit box see-through so that you still see the background of the form in the edit box? I tried making the edit box transparent or the bitmap transparent or one transparent and the other not and no combination is working. Please any response any one can give me will be greatly appreciated. Sincerely, Danielle
There are plenty of masked edit controls out there. Maybe one of them might be meeting your requirements? CMFCMaskedEdit[^], Masked Edit Control[^], ...