CDateTimeCtrl picker border - datetime

enter image description hereI'm using the CDateTimeCtrl class date picker in MFC C++. The date picker is created as below and it creates a picker control with a 3D border by default, but I would like to change the border. How can I set different border than default?
DTPicker.Create(WS_CHILD | WS_VISIBLE| DTS_UPDOWN| WS_BORDER,
CRect(400,0,400,12), this, 3);

Related

Change style on disabled date picker in Angular Material Design

I'm making an Angular Material website. It contains a date picker. The date picker has the popup enabled but input disabled. This results in a style with a dotted line under the input element. How do i change the styling to make the dotted line solid?
The documentation has an example of the date picker with disabled input right here: https://material.angular.io/components/datepicker/examples See the "Disabled datepicker"part.
On input tag use readonly attribute.

Bootstrap 4: own arrow in custom select menu

I'm using the custom select menu (https://v4-alpha.getbootstrap.com/components/forms/#select-menu).
Now I want to change the arrows on the right.
I saw, that the class uses an background image to display the arrow.
But it's an strange url/svg...
Is there any way to change that image with an icon from a font?
Or at least with an other svg?

Highstock: Change color of date input box border if active

There seems to be an default blue color for the active state border color of the date input box. Do I need to control this color through CSS? I couldn't find the option under rangeSelector
The inputs are rendered as shapes in SVG, not input forms. So yoo need to wrap highcharts function and define it.

cocos2d. Tileset image file to sprite list?

I have a tileset. For example it is represented with this file:
link
And I want to add to my game a level editor which has a panel with tile picker. How to split this image to sprite list to use inside this picker?
The problem is when you use cocos2d you use both tiled map and its tileset, but not separate tilesets.

Flex 3 - Custom tab navigator

I'm trying to create a custom tab navigator that has to look like this http://www.freeimagehosting.net/uploads/b470d024c4.jpg.
Also, when there's a rollover, the borders of the arrow have to be in blue (like the label in the current tab).
For that purpose, I've created a custom component: a hbox containing a label and a canvas with 3 images inside (for the arrow tip that has to change depending on the currentState).
Then, I thought of overlapping the components in order to get the blue highlight color (ex: arrow button 3 is over arrow button 4. The image of the arrow tip in button 3 will be transparent outside the arrow, so that we can see the black color of the following button).
I'm now trying to position the components inside the canvas ... but I cannot.
After the creationComplete event, I assign the label text and I was calculating the coordonates of the component but it doesn't take into account the label width... -_-'
Any ideas?
Thanks. Regards,
BS_C3
Read up on the Flex Component LifeCycle. You should be positioning and sizing your child components in the updateDisplayList() method; not in a creationComplete handler.
You should assign the label text in either commitProperties or createChildren depending upon when you know what it is.
If you want to share some code, we may be able to hone in on the exact problem. If you run code like this:
myLabel.text = 'Blahblahblahblah';
trace(myLabel.width);
I would expect that the width has not changed to reflect the new text because the myLabel has not gone through it's own component lifecycle steps yet.

Resources