Wednesday, September 26, 2012
Friday, September 21, 2012
Sunday, September 16, 2012
Function OpenFile in Visual C++ 2008
void DoFileOpen(HWND hwnd)
{
OPENFILENAME ofn;
wchar_t szFileName[MAX_PATH] = _T("");
ZeroMemory(&ofn, sizeof(ofn));
ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = hwnd;
ofn.lpstrFilter = _T("Text Files (*.txt)\0*.txt\0All Files (*.*)\0*.*\0");
ofn.lpstrFile = szFileName;
ofn.nMaxFile = MAX_PATH;
ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
ofn.lpstrDefExt = _T("txt");
if(GetOpenFileName(&ofn))
{
HWND hEdit = GetDlgItem(hwnd, IDC_MAIN_EDIT);
if(LoadTextFileToEdit(hEdit, szFileName))
{
SendDlgItemMessage(hwnd, IDC_MAIN_STATUS, SB_SETTEXT, 0, (LPARAM)"Opened...");
SendDlgItemMessage(hwnd, IDC_MAIN_STATUS, SB_SETTEXT, 1, (LPARAM)szFileName);
}
}
}
Adobe World-Ready Paragraph Composer
ទីបំផុត InDesign CS6 អនុញ្ញាតឲ្យប្រើពុម្ពអក្សរខ្មែរយូនិកូដបានពេញលេញហើយ។ រាល់ពុម្ពអក្សរខ្មែរយូនីកូដចាស់ៗ សម្រាប់ Windows សុទ្ធតែអាចប្រើបានជាមួយ InDesign CS6 ទាំងអស់ ដោយសារមានឧបករណ៍បន្ថែមមួយគឺ Adobe World-Ready Paragraph Composer។
ប៉ុន្តែត្រូវចូលទៅ Type → Paragraph ឬចុច Ctrl + Alt + T។ នៅខាងស្ដាំប្រអប់ Paragraph ឃើញមានសញ្ញាកូតៗ ចុចលើសញ្ញានោះ រួចរើសយក Adobe World-Ready Paragraph Composer។
Wednesday, August 29, 2012
Samsung unveils Galaxy Camera with Android 4.1 Jelly Bean
Samsung has unveiled a voice-controlled camera as part of a fall lineup of consumer gadgets aimed at setting itself apart from rival Apple.
The South Korean electronics giant presented the 16-megapixel Galaxy Camera at the IFA tech show in Berlin on Wednesday.
It comes days after Samsung suffered a costly defeat in a patent dispute with Apple in the United States.
Samsung's Galaxy Camera runs Google's popular Android operating system, giving it features previously restricted to smartphones or tablet computers such as photo organizing, photo sharing and voice-control.
The company also announced two new phones, the Galaxy Note II and the ATIV S running Microsoft's Windows 8 operating system.
Samsung says the devices will be available in many countries from the end of October.
Tuesday, August 28, 2012
LG Optimus G -- World's first LTE Snapdragon S4 Pro quad-core smartphone
After Qualcomm spilled the beans, LG officially announced the Optimus G, the world's first quad-core smartphone based on the Snapdragon S4 Pro processor to also include LTE connectivity. The LG Optimus G will be rolled out in September in Korea with global availability to follow after. Look out Samsung Galaxy S III, there is a new flagship smartphone in town...
The LG Optimus G has a 4.7-inch TrueHD IPS display (LCD) that sports an unusual 1280x768 resolution with a 15:9 ratio, packing a fast Qualcomm Snapdragon S4 Pro processor with a quad-core 1.5GHz Krait CPU, Adreno 320 GPU, 2GB of RAM, 32GB of internal storage, a 13 megapixel rear-facing camera with a 1.3 megapixel camera available on the front, 4G LTE connectivity, USB 2.0, Wi-Fi, A-GPS, MHL, DLNA, NFC and Bluetooth 4.0. The device weighs 145 grams and measures 131.9 x 68.9 x 8.45mm. A 2,100mAh battery is powering the LG Optimus G that is running Android 4.0 Ice Cream Sandwich.
Saturday, August 25, 2012
Armstrong, First Man on Moon, Dies
As commander of the Apollo 11 spacecraft and the first man to step on the lunar surface, Mr. Armstrong punctuated his exploit with the memorable phrase that it marked "one small step for man, one giant leap for mankind." The mission forever changed man's view of space, transfixed people around the globe and mesmerized Americans, including nearly one million spectators who flocked to the Florida launch site.



