Code Library

Free Source Code and Program Tips

RSS Feeds

  • Home
  • zero
  • Featured
  • Sitemap
  • About
  • How do I subclass the CListCtrl part of a CListView Class?

    Read this article: How to use an derived CListCtrl in CListView
    More
  • ucoFmlParser, a formular parser use LaTex-like syntax

    Formula Parser Formular Editor, a great control which can edit and display the formular in a very friendly way. For details, please visit the CodeProject website. But how to build the formula is very hard. One can input the formula by the mouse, or build the Formular Tree in program. Both are hard. So I write the ucoFmlParser for the control, which can parse the LaTex-like expression to formular. For...
    More
  • ucoSpy,a system enhancement tool like spy++

    Introduce ucoSpy is a system enhancement application, used to view various attributes of windows or controls, and copy multiple contents that can’t be normally copied as well, such as passwords hidden as asteroids, and a TreeView. And ucoSpy can give a report the tree relationship of the windows and their child control. Main features ucoSpy is designed with the architecture of plug-in. So everyone...
    More
  • ucoGrid, a great grid control of MFC

    UcoGrid is develped from CGridCtrl, and provides more exciting features. CGridCtrl is a great ctrl developed by Chris Maunder, which can display and edit tabulated data and support custom defined cell type. The lastest version is Here. Many developers have created their new cells and developed new feathers for CGridCtrl. such as, merging and unmerging cells, printing and print preview support,...
    More
  • How to change the row height of CListCtrl

    When you want to change the height of CListCtrl, you need to use an owner-draw version of CListCtrl and change the font of the control. But when you change the font of the CListCtrl, the control or its parent window does not get a chance to respecify the height of the rows and the effect will not be taken. The reason is that No WM_MEASUREITEM message is sent to the controls parent window. The...
    More

Eclipse developed Android, Hello Spinner (Study 10)

Dec 10th

Posted by support in General | 216 views

No comments

HelloSpinner.java Source 1 package com.example.test; import android.app.Activity; import android.os.Bundle; import android.widget.ArrayAdapter; import android.widget.Spinner; public class HelloSpinner extends Activity (@ Overridepublic void onCreate (Bundle savedInstanceState) ( super.onCreate (savedInstanceState); setContentView (R.layout.main); Spinner s = (Spinner) findViewById (R.id.spinner); ArrayAdapter adapter = ArrayAdapter.createFromResource (this, R.array.planets, android.R. layout.simple_spinner_item); adapter.setDropDownViewResource (android.R.layout.simple_spinner_dropdown_item); s.setAdapter (adapter);)) layout-> main.xml 1 <? xml version = "1.0"

android, developed, eclipse, spinner, study

Eclipse developed Android, Hello FormStuff (study 9)

Dec 9th

Posted by support in General | 6 views

No comments

1 HelloFormStuff. Java code is as follows 1 package com.example.test; import android.app.Activity; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.widget.CheckBox; import android.widget.EditText; import android.widget.ImageButton; import android.widget.RadioButton; import android.widget.Toast; import android.widget.ToggleButton; public class HelloFormStuff extends Activity (/ ** Called when the activity is first created. * / @ Override public void onCreate (Bundle savedInstanceState) (super.onCreate (savedInstanceState);

android, developed, eclipse, formstuff, study

Eclipse developed Android, Hello, TimePicker (study 8)

Dec 8th

Posted by support in General | 5 views

No comments

Hello, TimePicker A TimePicker is a Widget that allows the User to Select the time by hour, minute and AM or PM. Start a new project / Activity called HelloTimePicker. Modify HelloTimePicker.java code is as follows: 1 package com.example.test; import java.util.Calendar; import android.app.Activity; import android.app.Dialog; import android.app.TimePickerDialog; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView;

android, developed, eclipse, study, timepicker

Eclipse developed Android, Hello, WebView (study 6)

Dec 6th

Posted by support in General | 663 views

No comments

Hello, WebView A WebView allows you to Create your own Web Browser Activity. In this Tutorial, we'll Create a simple Activity that can View Web pages. Learning Address: http://androidappdocs.appspot.com/guide/tutorials/views/hello-webview.html HelloWebView.java Code 1 package com.example.test; import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; public class HelloWebView extends Activity (WebView webview; / ** Called when the activity is first

android, developed, eclipse, study, webview

Eclipse developed Android, Hello, MapView (study 5)

Dec 5th

Posted by support in General | 4 views

No comments

Hello, MapView Learning Address: http://androidappdocs.appspot.com/guide/tutorials/views/hello-mapview.html HelloItemizedOverlay.java Code 1 package com.example.test; import java.util.ArrayList; import android.graphics.drawable.Drawable; import com.google.android.maps.ItemizedOverlay; import com.google.android.maps.OverlayItem; public class HelloItemizedOverlay extends ItemizedOverlay (private ArrayList <OverlayItem> mOverlays = new ArrayList <OverlayItem> (); public HelloItemizedOverlay (Drawable defaultMarker) (super (boundCenterBottom (defaultMarker ));// TODO Auto-generated constructor stub) @ Overridepublic int size () (return mOverlays. size ();) public void

android, developed, eclipse, mapview, study

Eclipse developed Android, TableLayout (study 4)

Dec 3rd

Posted by support in General | 11 views

No comments

Hello, TableLayout A TableLayout is a ViewGroup that will Lay child View elements into rows and columns. Start a new project / Activity called HelloTableLayout. Open the layout file. Make it like so: 1.0 & quot ; encoding = & quot ; utf – 8 & quot ;?& gt ; & lt ; TableLayout xmlns

android, developed, eclipse, study, tablelayout

Eclipse developed Android, RelativeLayout (study 3)

Dec 2nd

Posted by support in General | 7 views

No comments

Hello, RelativeLayout A RelativeLayout is a ViewGroup that allows you to layout child elements in positions relative to the parent or siblings elements. Start a new project / Activity called HelloRelativeLayout. Open the layout file. Make it like so: 1.0 & quot ; encoding = & quot ; utf – 8 & quot ;?& gt

android, developed, eclipse, relativelayout, study

Eclipse developed Android, LinearLayout (study 2)

Dec 1st

Posted by support in General | 9 views

No comments

A LinearLayout is a GroupView that will Lay child View elements vertically or horizontally. Start a new project / Activity called HelloLinearLayout. Open the layout file. Make it like so: 1 <? xml version = "1.0" encoding = "utf-8"?> <LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android" android: orientation = "vertical" android: layout_width = "fill_parent" android: layout_height =

android, developed, eclipse, linearlayout, study

Android if they had to switch screen solution (reproduced)

Nov 29th

Posted by support in General | 5 views

No comments

Original From: http://blog.sina.com.cn/s/blog_4ca975460100g5yj.html Android if they had to switch on the screen solution The time in the development of the game, some games are only horizontal screen play, so when placed in the erection of mobile phone, to keep the game screen is still horizontal screen. To achieve this requirement is very simple to configure

android, reproduced, screen, solution, switch

Android custom ContentProvider

Nov 28th

Posted by support in General | 5 views

No comments

Custom ContentProvider —- The content provider is used to deal with data sources, while the content parser (ContentResolver) responsible for operating the specific content provider. The data source can be a file or database. More content resolver can simultaneously access the content provider because it is thread – safe. A URI can identify a resource,

android, contentprovider, custom
«12345»10...Last »
    • Recent comments
    • Popular posts
    • Archives
    • Tags
    • Categories
    • General (69)
    • iphone (4)
    • Java (7)
    • Project (3)
    • Script (3)
    • Win32/MFC (32)
    1st actions android API application Bitmap broadcastreceiver CListCtrl CListView Cpp CPropertyPage CTreeCtrl CTreeView CView Debug developed development dll eclipse File game heap hook How-to interaction jbpm message parser PHP Program Project Script sdk service STL study Subclass thread Tips ucosoft user Visual Studio Win32/MFC Win32/MFC WordPress
    • December 2009 (28)
    • November 2009 (9)
    • October 2009 (11)
    • February 2009 (1)
    • January 2009 (1)
    • October 2008 (1)
    • September 2008 (2)
    • June 2008 (2)
    • January 2008 (4)
    • November 2007 (1)
    • October 2007 (12)
    • June 2007 (4)
    • April 2007 (1)
    • March 2007 (3)
    • January 2007 (7)
    • December 2006 (11)
    • November 2006 (20)
    • ucoGrid, a great grid control of MFC (18)
    • Solution of fatal error RC1004: unexpected end of file found (11)
    • ucoFmlParser, a formular parser use LaTex-like syntax (5)
    • How to retrieve the authenticode information (3)
    • sscanf with CString (3)
    • Deploy JBPM 3.2.2 to Tomcat and Mysql (2)
    • Retrieving a class and WMI class (2)
    • Install global hook without dll (2)
    • How to use an derived CListCtrl in CListView (2)
    • How to send/post message to CDocument? (2)
    • Mohammad: Thanks. This saved a big project from some bad bugs.
    • Allen: Thank you very much! It is really a simple yet effective solution!
    • kumar: Im very dissapponted with ur site. It is not at all userfrendly. To understand the code we need...
    • cipcipcia: how can I add to bookrmark your blog? would you like to visit mine? regards!
    • Thomas: Thank you! This helps a lot!
    • David Weber: This did help me the error RC1004: unexpected end of file found persists.
    • Vikas: Hi, Do You try to deploy JBPM 4.0 on Tomcat ? Thanks -Vikas
    • Vikas: Hi, Do You try to deploy JBPM1.0 on Tomcat ? Thanks -Vikas
  • My latest tweets

    Loading tweets...
    Follow me on Twitter!
  • User Login






    • Lost your password?
  • Blogroll

Mystique theme by digitalnature | Powered by WordPress
RSS Feeds XHTML 1.1 Top